tags:

views:

41

answers:

2

How can I make it so that my application is seen on the Android Market only by devices with mdpi and hdpi densities.

There is the <supports-screens> tag and there is the anyDensity parameter but I don't see how I can say what I want. If I set anyDensity to false, what does that mean? Where do I specify which densities I do support?

A: 

See here for details: http://developer.android.com/guide/topics/manifest/supports-screens-element.html

droid_fan
I already knew what it said in the link but this doesn't answer my question. You can disable support for small/normal/large screens but there is no way to disable support for ldpi devices.
kaciula
A: 

The small screens represent LVGA. If you declare android:smallScreens="false" in ur manifest it indicates that your application will not support LVGA.

If you are compiling your application with minimumsdk/targetsdk of 1.5 SDK then by default these values will be false in the else case these values will be true. So in this case you need to specify that your application will not support LVGA by declaring smallscreens attribute as false.

Rahul
If you look here http://developer.android.com/guide/practices/screens_support.html#range you can see that there are ldpi devices that have normal screen. I want to know how to say that I don't support those devices (e.g ldpi + normal screen)
kaciula
i don't think you have stimulator or device support for WQVGA and FWQVGA screens. i have not heard any popular devices running on the above two densities. Do you know any device that runs on the above screen sizes?
Rahul
Well, if you look here http://developer.android.com/resources/dashboard/screens.html you can see that currently there are 0.4% ldpi devices with normal screens. It's a small percentage but, if I don't want to take the trouble to customize the graphics and the layouts for these devices, I need to exclude them somehow.
kaciula