Is it possible to limit an Android application to a device rather than an OS version?

If I want a specific application to be available only for certain devices or only for tablets, is there a way to make restrictions with the device (for example, I can limit the version of Android with the minimum / maximum Android OS)?

I say this is impossible. Do you agree?

+3
source share
2 answers

I understand that you are trying to limit the devices that can see the application on the market, but, like you, I do not think that this is possible. However, you can restrict it in the application using data and the Build class. Build.PRODUCTIt looks as if it meets your needs - if the phone on which the application is installed does not have a predefined list of β€œproducts”, tell the user that they have the wrong version and exit.

A similar idea for tablets is to check the screen size - if they are below a certain threshold, then display the same message.

+3
source

Perhaps starting in June of this year. Please take a look at this Google I / O session:

http://youtu.be/GxU8N21wfrM

0

All Articles