user403015
user403015

Reputation: 7227

How to ensure an Android app can only be run on a tablet?

My Android app is specifically designed for tablet, and I do not want it to run on mobile phones.

How to ensure the app can only be run on a tablet ?

Thanks.

Upvotes: 3

Views: 1771

Answers (3)

Blundell
Blundell

Reputation: 76458

Other question got linked as a duplicate, so here is the alternative answer:

Yes go into the android market publisher page.

  • Make sure your app is uploaded.

  • Click on your app name.

  • Scroll down to where it says 'Show devices'.

  • Click that and you can exlude all mobile phones from downloading your app.

Failing that you can set some parameters in your manifest for screen size etc, but this is less reliable.

Upvotes: 2

bigstones
bigstones

Reputation: 15257

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

Upvotes: 3

ageektrapped
ageektrapped

Reputation: 14552

Set the min and target SDK version in the manifest file to 11.

<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="11"></uses-sdk>

Or if editing in Eclipse, select Uses Sdk in Manifest Extras and enter them there.

Upvotes: -3

Related Questions