Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
- tm.getDeviceId();
- <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement