How to make an Android application incompatible with tablets?

I am going to make a specific version of the application for my application, and I want my phone application to be compatible with tablets.

I tried to make my application with maxSdkVersion 10, and I also tried xlarge false support screens, etc.

Can someone tell me how to make my application incompatible with tablets?

+5
source share
3 answers

One solution (which may not cover all devices, I don’t know) is filtering devices based on screen size and density. Table 1 here shows you all the options.

In the manifest file, you can try something like:

<compatible-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" />
    <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" />
</compatible-screens>

, ( Android + ) , .

+5

Android. , , , . , maxSdkVersion 10 , , , . , , .

: http://developer.android.com/guide/google/play/filters.html

, !

0

.............

. :

http://developer.android.com/guide/practices/screens-distribution.html#FilteringHandsetApps

:

: ( ) "false", , Google . - , . ( 320dp x 480dp, . ). ,

0

All Articles