Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

application for a specific unique device

Tags:

android

Is there any way to build application for a specific unique device? Suppose I have one android device and I want to create an apk file for that device only, that apk can't be get installed on any another device, is it possible?

like image 731
Pankaj Deshpande Avatar asked Nov 13 '22 04:11

Pankaj Deshpande


1 Answers

You can use the code in this answer to get the unique device ID.

However, you won't be able to use this to restrict Google Play to restrict your app to this device only, instead, as @ThomasK suggests, you can add a check for this specific device id and finish() if it's not the specific device.

You can limit your app installing from play in many ways, but you cannot restrict it to that extent at a configuration level.

like image 188
Graeme Avatar answered Nov 16 '22 03:11

Graeme