shad5951 / android-market-api

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

apps with <uses-feature android:name="android.software.live_wallpaper" /> aren't retrieved #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

session.setOperatorO2();
session.getContext().setDeviceAndSdkVersion("sapphire:7");
session.login("user","passw")
appsRequest = AppsRequest.newBuilder()
                                .setQuery("andforge")
                                .setStartIndex(0).setEntriesCount(10)
                                .setWithExtendedInfo(true)
                                .build();

What is the expected output? What do you see instead?

There should be 9 apps, but instead ...  only 7 are retrieved.

What version of the product are you using? On what operating system?
android-market-api 0.3

Please provide any additional information below.
- All Apps are without! copy protection.

The two missing apps have the line
<uses-feature android:name="android.software.live_wallpaper"></uses-feature>
in their manifest. I'm pretty sure that this is the problem. :(

Original issue reported on code.google.com by elba...@googlemail.com on 21 Mar 2010 at 8:56

GoogleCodeExporter commented 8 years ago
Are live wallpapers only available to Android 2.1 devices?  Maybe the cause 
isn't
that this app is a live wallpaper, but that it's a 2.1 app.  

setDeviceAndSdkVersion("sapphire:7"); // may only return apps < Android 2.0

Original comment by ldonel...@gmail.com on 5 Apr 2010 at 10:34

GoogleCodeExporter commented 8 years ago
I just discovered this issue when I published a new version of my live 
wallpaper after having added the following line in AndroidManifest

<uses-feature android:name="android.software.live_wallpaper"></uses-feature>

I discovered that the application was suddenly not visible anymore by 
androlib.com 

I tried to use android-market-api and I found the exactly the same issue. The 
live wallpaper is not visible anymore. (it was visible before last update)

Since Google is pushing developer to correctly set all uses-feature flag (sse 
http://android-developers.blogspot.com/2010/11/market-housekeeping-alert.html), 
I think that the priority of this issue should be raised. 

Maybe other applications may be unwillingly filtered because of 
“use-feature” declaration.

Original comment by patrick....@gmail.com on 18 Nov 2010 at 5:15

GoogleCodeExporter commented 8 years ago
Works for me with the latest version.

At least it appeared to, when I chose some random app on the Market that 
appeared to be a live wallpaper.

However, setting a valid Android ID on the Market Session definitely *does* 
work -- it made an app become visible, which I know uses 
"android.software.live_wallpaper".  Without an Android ID, it was not returned 
by the API.

Original comment by chris@orr.me.uk on 10 Apr 2011 at 10:14