Limit Android apps to specific screens

I am developing a Live Wallpaper that requires the screen to have certain features.

Live wallpaper should support API level 7 and above (I think, I'm not sure that it will work on Honeycomb) and screen size Normalwith the density Medium, which are limited HVGA(320x480), WVGA800(480x800),WVGA854(480x854)

I can limit it to screen size Normalusing support-screensin AndroidManifest.xml:

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

However, I have no idea how to limit it to a density screen Medium.

What is the best way to achieve this? since I don’t want the wallpaper displayed on the market for devices that couldn’t start it.

thank

+5
source share
1 answer

<compatible-screens> , Market , , .

<compatible-screens>
    <screen android:screenSize="normal" android:screenDensity="mdpi" />
</compatible-screens>
+7

All Articles