I have an application that has not yet been optimised for xlarge tablet screens, so I have the following code the manifest:
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="false" />
However, when I upload the .apk file to Android Market, it tells me:
API level: 4-12+
Supported screens: small-xlarge OpenGL textures: allI know that it is currently possible to filter an application to only run on phones with:
<uses-sdk android:maxSdkVersion="10" />
...but I want the application to be a开发者_JAVA百科vailable for phones running Ice Cream Sandwich when they appear.
did you try using: http://developer.android.com/guide/topics/manifest/compatible-screens-element.html
<compatible-screens>
Android Market filters the application if the device screen size and density does not match any of the screen configurations ....
Alright, I found the solution.
If I remove this line from the xml it works out:
<gap:config-file platform="android" parent="/manifest">
<supports-screens
android:xlargeScreens="false" />
</gap:config-file>
精彩评论