I used <compatible-screens> as documented here
http://developer.android.com/guide/practices/screens_support.html and
I found some odd behavior.

Incorrect behavior: Including all possible combinations is NOT
equivalent to not specifying <compatible-screens> in the manifest at
all.

Expected behavior: All known combinations should be equivalent to NOT
specifying the <compatible-screens>

Example: If I specify this in my manifest,

<compatible-screens>
    <!-- all small size screens -->
    <screen android:screenSize="small" android:screenDensity="ldpi" />
    <screen android:screenSize="small" android:screenDensity="mdpi" />
    <screen android:screenSize="small" android:screenDensity="hdpi" />
    <screen android:screenSize="small" android:screenDensity="xhdpi" /
>
    <!-- all normal size screens -->
    <screen android:screenSize="normal" android:screenDensity="ldpi" /
>
    <screen android:screenSize="normal" android:screenDensity="mdpi" /
>
    <screen android:screenSize="normal" android:screenDensity="hdpi" /
>
    <screen android:screenSize="normal" android:screenDensity="xhdpi" /
>
    <!-- all large size screens -->
    <screen android:screenSize="large" android:screenDensity="ldpi" />
    <screen android:screenSize="large" android:screenDensity="mdpi" />
    <screen android:screenSize="large" android:screenDensity="hdpi" />
    <screen android:screenSize="large" android:screenDensity="xhdpi" /
>
    <!-- all xlarge size screens -->
    <screen android:screenSize="xlarge" android:screenDensity="ldpi" /
>
    <screen android:screenSize="xlarge" android:screenDensity="mdpi" /
>
    <screen android:screenSize="xlarge" android:screenDensity="hdpi" /
>
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi" /
>
</compatible-screens>
I expect the number of devices on which the app will be available will
be the same as with manifest without <compatible-screens> specified.
In the Developer Console I see 243 devices with (<compatible-screens>
+ all the screen combinations specified) Vs 650 without specified in
the manifest.

Developer Console output: This application is only available to
devices with these features, as defined in your application manifest.
Screen layouts: SMALL NORMAL LARGE XLARGE Required device features
android.hardware.touchscreen This application is available to over 243
devices. Show devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to