How can I make sure that my Android app is only available on the Galaxy Tab?

365 views Asked by At

I want to set up my Android app so that it can only be downloaded/installed on the Samsung Galaxy Tab. I've looked at guides like "Five Steps to Future Hardware Happiness," but I haven't gotten much out of them. The Galaxy-Tab-only requirement is from the client that I'm building this app for - specifically, he wants to target just the Galaxy Tab P-1000 model, not other Tabs.

How can I set up my app so that the Android Market knows it should only be available to this specific model of device?

3

There are 3 answers

1
mike47 On BEST ANSWER

You can do this on Google Play itself, by adding all devices except the one you wish to support to the "Manually Excluded" list of your store listing. More information is available here:

http://support.google.com/googleplay/android-developer/answer/1286017

2
Kanika On

android.os.Build contains properties you are interested in.

Build.MODEL, Build.PRODUCT and Build.MANUFACTURER should give you the info you need. They are all String objects.

And also, before installation u cant detect the device model, but after installing the app, you can detect the device model using Build.Model attribute and run ur application as accordingly..

0
Rajdeep Dua On

I dont think you can detect the hardware manufacturer or the model type using standard android apis.