how to get IMEI number of mobile through code.

Tutorials with advanced 'difficulty' and more Lines of Code.

how to get IMEI number of mobile through code.

Postby nbagade » Wed Jan 27, 2010 2:09 pm

Hi,

how to launch the android application in MobiHand with security like once the user download the apk file,he should able to insatll that application in only one mobile.

Plz suggest me what will approach?how developer can restrict the user from using the same apk file for insatallation in others mobile also.


Thanks,
Neo
nbagade
Experienced Developer
Experienced Developer
 
Posts: 58
Joined: Fri Nov 20, 2009 7:49 am
Location: India

Top

Postby Graham » Sun May 02, 2010 1:17 pm

apk files are the identical per device (even copies from different users on downloading on different devices, or purchased with different credit cards etc.)

There real way atm to signature the apk for just the device it was downloaded on.

To get the IMEI however is:
android.os.SystemProperties.get(android.telephony.TelephonyProperties.PROPERTY_IMEI);
-- Graham
Graham
Freshman
Freshman
 
Posts: 7
Joined: Sun Mar 22, 2009 10:18 pm

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests