Android app for tablets only

I developed my application for Android Tablet. But it should only be installed on an Android Tablet . For this, I tried the following.

But all the above scenarios are failed. The android app installed both Google Nexus S 4.1.0 mobile and Acer Iconia A500 tablet all the above scenarios are failed. The android app installed both Google Nexus S 4.1.0 mobile and Acer Iconia A500 tablet . Is there any other way to limit the Android app to Android tablets only.

+7
source share
3 answers

How do you install the apk? Via ADB / Sdcard or GooglePlayStore?

You should notice that the entire filter is designed for the market. It cannot prevent the user from installing the APK manually.

+3
source

According to the documentation, these lines will work for you!

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

Filtering is applied in a market application! This means that you can not test it by installing the application from adb or just running it from apk! APKs that can be filtered by Google Play can be compatible and can be installed on devices from "unknown sources."

You can see how filtering is applied when loading APKs on the Market, see all applications> select your application> APK> Supported devices | Excluded Devices

  • Excluded devices: allow you to manually exclude specific devices.
+5
source

Filtering is done by Google Play, not the device. If you want to limit the use of the application, just check the settings of the device on which your application is running, for example, screen resolution or some functions you need, and either continue or display an error message and just close it.

+2
source

All Articles