vjpatil15 / android-market-api

Automatically exported from code.google.com/p/android-market-api
0 stars 0 forks source link

downloadCount from extendedInfo is alway zero #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

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