Mark, please.
public void Msg1 (String str) {Toast toast = new Toast (this); Toast Toast1 = Toast.maketext (this, str, toast.length_long); Toast1.show (); }//Get ID number final Telephonymanager TM = (Telephonymanager) getbasecontext (). Getsystemservice (Context.telephony_service) ; final String Tmdevice, tmserial, tmphone, Androidid;tmdevice = "" + Tm.getdeviceid (); tmserial = "" + Tm.getsimserialnumbe R (); Androidid = "" + android.provider.Settings.Secure.getString (Getcontentresolver (), Android.provider.Settings.Secure.ANDROID_ID); UUID Deviceuuid = new uuid (Androidid.hashcode (), ((Long) Tmdevice.hashcode () << +) | Tmserial.hashcode ()); String uniqueId = deviceuuid.tostring (); MSG1 (UNIQUEID); Get phone model string strphonemodule = Android.os.Build.MODEL; MSG1 (Strphonemodule); Gets the system version string strsystemtype = Android.os.Build.VERSION.RELEASE; MSG1 (Strsystemtype); Get the native number Telephonymanager phonemgr= (telephonymanager) This.getsystemservice (Context.telephony_service); String strphonenum = Phonemgr.getline1number (); MSG1 (Strphonenum);
Android get ID number, native number, phone model, system version