जॉइन Examsbook
1155 0

प्र: Write code snippet to retrieve IMEI number of Android phone?

  • उत्तर देखें
  • Workspace

उत्तर :
व्याख्या :

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();

क्या आपको यकीन है

  त्रुटि की रिपोर्ट करें

कृपया संदेश दर्ज करें
त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई