nazihheni/android-market-api

downloadCount from extendedInfo is alway zero

Closed this issue · 2 comments

Hi, I have a problem gettin the number of downalod of application.

This is my code:

AppsRequest appsRequest = AppsRequest.newBuilder()
            .setQuery(query)  
            .setStartIndex(0).setEntriesCount(10)
            .setWithExtendedInfo(true)
            .build();

session.append(appsRequest, new MarketSession.Callback<AppsResponse>() {

            public void onResult(ResponseContext context, AppsResponse response) {
                            for (App app : response.getAppList()) {
                         int numDownload = app.getExtendedInfo().getDownloadsCount();  // <-- this is alway zero
                }

            }
        });


any solution ?

Original issue reported on code.google.com by fabrizio...@gmail.com on 24 Sep 2010 at 5:49

As far as I know Google stopped reporting it which is why all the App sites 
report the download ranges. Try using .getDownloadCountText() instead and you 
can get the download ranges.

Original comment by ian.shau...@gmail.com on 26 Sep 2010 at 9:17

Original comment by thiel.al...@gmail.com on 26 Sep 2010 at 10:07

  • Changed state: Invalid