Write code snippet to retrieve IMEI number of Android phone?5
1024 5b5cc7d6e4d2b419777514ff
Q: Write code snippet to retrieve IMEI number of Android phone?
- Show Answer
- Workspace
- Discuss
Answer :
Explanation :
TelephonyManager class can be used to get the IMEI number. It provides access to information about the telephony services on the device. Code TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); String imei = mTelephonyMgr.getDeviceId();
Similar Questions
Since Nithya and Suganya exchange places, so Rita’s new position is the same as Monika’s earlier position. This position is 17th from the right and 10th from the left. Therefore Number of girls in the row = (16 + 1 + 9) = 26.