Tutorial :Supporting /restricting android app only for normal resolution?



Question:

Say if I decided to support only normal 320X480 screen resolution for the first release of my app,

Will these lines, hide the app from the high and small resolution screens on android market ?

<supports-screens android:smallScreens="false" android:largeScreens="false" android:resizeable="false" android:normalScreens="true" android:anyDensity="false">

If not can some one point in the right direction as to how to make sure that the app is not visible or available for download for rest of the screens ?

Thanks in advance.


Solution:1

If you only want to support 320x480 screen resolution, you can simply use Android 1.5 as your build target. This will force all devices to emulate HVGA if they don't have that as their native display.


Solution:2

The Android Documentation says this about android:normalScreens

http://developer.android.com/guide/topics/manifest/supports-screens-element.html#normal

HVGA medium density screens, WQVGA low density screens, and WVGA high density screens are included in this group.

I do not believe there is a way to restrict your app to one specific screen resolution.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »