Restrict application to install only on specific imei android devices -


i have developed education app specific people. want app installed on devices (on specific imei devices).

i know that, after application installed, app can verify imei numbers. know that, can put restriction (like minimum sdk version) in manifest file. wondering, there device id restriction can add inside manifest file, verify while installation.

if so, generate different apk files of them...

from android there no way mean cannot restrict through permission yes through smart coding can achieve it

1) anyways imei numbers of users phone programatically can check condition on landing/splash page if imei==user_imei_number he/she can able see main page else not authority enter main page need create apk file each device

2) if dont know how many users use app can remote database in database can save new users imei number , in splash/landing page can check through webservice imei==users_imei_number (from remote database) he/she can use app off course need mention internet permission in , user must have valid internet connection if dont want user check identity/imei number each time can validate user @ once , can save result in shared preferrences , can give access user everytime without hiting webservice validation

hope suggestion may happy coding :)


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -