Giter Site home page Giter Site logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
"Expected: List some applications, or useful message."

The request your making isn't valid.

Since this api doesn't perform validation prior to submitting the request, the 
market
is rejecting the request and only giving a 400 as a response. It doesn't 
actually
return useful information, so there is nothing for this api to tell you other 
than
that :)

Original comment by [email protected] on 16 Apr 2010 at 5:06

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Is there any way to list all applications? Thank you!

Original comment by [email protected] on 17 Apr 2010 at 2:29

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
how can i download the query app's .apk file? Thank you very much!

Original comment by [email protected] on 27 Apr 2010 at 3:36

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
I would also like to know how to download the query app's .apk file!

Original comment by [email protected] on 2 May 2010 at 6:08

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
@quickbook123

Not it one request, you must make multiple requests to do so

@greenmaomao @lberger

That's out of scope of this issue - and it requires more work than this api 
currently
has done.

Original comment by [email protected] on 4 May 2010 at 3:45

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
I perform the same query with different indexes (less than 800) and sometimes i 
get response code 400. I couldn't find a pattern that generates this error and 
there is not much info returned by API. Do you have an idea about the market 
limitations? Like number of requests allowed ...

Original comment by [email protected] on 3 Aug 2010 at 7:00

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
In MarketSession.executeRawHttpQuery(byte[] request){
    ....
    String request64 = Base64.encodeBytes(request);
    ....
}

This "request64" sometimes contains a '/' character.
If you replace this '/' to '-', bug will be fixed.

Original comment by [email protected] on 15 Sep 2010 at 2:15

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
debug1984213, thank you so much,

just encode the bytes with options URL_SAFE, 
now everything works fine. 

String request64 = Base64.encodeBytes(request, Base64.URL_SAFE);

Original comment by [email protected] on 16 Sep 2010 at 4:32

from android-market-api.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024

Original comment by [email protected] on 7 Dec 2010 at 7:36

  • Changed state: Fixed

from android-market-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.