Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Only for Tablets

I am create application only for tablets. Now i upload that application on market. My application support in Android 2.2 Galaxy Tab 7 and All android 3.0 version Tablets. Issues is that application can not install in mobile. when i use Android 2.2 version device and search my application than it's found and install in my device.

To avoid that i add this code in my manifest file:-

<supports-screens android:smallScreens="false" 
        android:normalScreens="false" 
            android:largeScreens="true"
        android:xlargeScreens="true" />

but till that in mobile my application show. I found some other code but this not show in my manifest file

    android:requiresSmallestWidthDp="600"
    android:compatibleWidthLimitDp="integer"
    android:largestWidthLimitDp="integer"

Thanks in Advance

like image 869
Mitesh Jain Avatar asked Sep 04 '26 02:09

Mitesh Jain


1 Answers

As I just answered here: https://stackoverflow.com/a/10540882/413127 it is possible

you need a combination of what you've outlined above in your Manifest:

 <supports-screens
        android:largeScreens="true"
        android:normalScreens="false"
        android:requiresSmallestWidthDp="600"
        android:smallScreens="false"
        android:xlargeScreens="true" />

 <uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="14" />
like image 69
Blundell Avatar answered Sep 05 '26 20:09

Blundell



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!