I have two different apks - one for phones, and it has portrait orientation, and one for tablets in landscape. Also different drawables used there. All drawables store in "drawable-nodpi" and layouts simply in "layout" folder. I want to distinct tablets from phones in my manifest, considering that tablet is everything larger then 7 inches. And the main problem is Samsung Galaxy Tab P1000. It has 7 inches display, 1024x600 resolution, so it has to be a tablet. But if i download app from Google Play it takes version for phones, cause screen density of it is "hdpi". I think base settings are correct cause Acer Iconia A100 which also has same params on hardware, but has "mdpi" density downloads version for tablets.
Can you please tell me how to distinct phones from tablets and to correct set my manifest?
Sorry for long time not looking here...
Single apk is absolutely not suitable for me. I've found the solution for this problem. For the apk which is only for tablets you should add the following in your manifest:
<compatible-screens>
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="213" /> <!--nexus7-->
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
</compatible-screens>
And for the apk which is just for phones:
<compatible-screens>
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
</compatible-screens>