I'm developing a Live Wallpaper that requires the screen to be of certain features.
The Live Wallpaper should support API level 7 and above (Thought I'm not sure it'll work on Honeycomb) and Normal
screen size with Medium
density which are restricted to HVGA(320x480)
, WVGA800(480x800)
, WVGA854(480x854)
I am able to restrict it to Normal
screen size using support-screens
in the AndroidManifest.xml
:
<support-screens
android:smallScreens="false"
android:normalScreens="true"
android:largeScreens="false" />
However, I have no idea how to restrict it to Medium
density screen.
What is the best way to achieve this? as I don't want the wallpaper to appear in the Market for devices that could not run it.
Thanks
Open your phone's Settings app. Tap Digital Wellbeing & parental controls. Tap the chart. Next to the app you want to limit, tap Set timer .
To configure an app limit, launch Digital Wellbeing. Tap Dashboard, then select the app you'd like to place a restriction on. Touch the App Timer option and define your daily allowance. Finally, hit the OK button.
You can specify <compatible-screens>
in the manifest file, and the Market will not display your application for screens which are different from the ones you've listed as compatible.
<compatible-screens>
<screen android:screenSize="normal" android:screenDensity="mdpi" />
</compatible-screens>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With