Monday, April 26, 2010

Fetching IMEI number in Android

We can fetch the IMEI number of android phones using,


TelephonyManager mTelephonyMgr = (TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE);
String imei = mTelephonyMgr.getDeviceId();

No comments:

Post a Comment

Androidians