How can I make sure my application is only available on Android Market phones?

I have an application that is not yet optimized for xlarge tablet screens, so I have the following manifest code:

<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="false" /> 

However, when I upload the .apk file to the Android Market, it tells me:

API Level: 4-12 +
Supported Screens: small-xlarge
OpenGL Textures: All

I know that it is currently possible to filter the application only for working on phones:

 <uses-sdk android:maxSdkVersion="10" /> 

... but I want the app to be available for phones using Ice Cream Sandwich when they appear.

+6
source share
2 answers

You tried to use: http://developer.android.com/guide/topics/manifest/compatible-screens-element.html

 <compatible-screens> 

The Android Market filters the application if the deviceโ€™s screen size and density do not match any screen configuration ....

+4
source

Ok, I found a solution.

If I remove this line from xml, it will work:

 <gap:config-file platform="android" parent="/manifest"> <supports-screens android:xlargeScreens="false" /> </gap:config-file> 
0
source

Source: https://habr.com/ru/post/896089/


All Articles