MEI (International Mobile Equipment Identity) is an abbreviation for the International Mobile device Identity Code, the International Mobile Equipment Identification Code, is a 15-digit "electronic serial number", which corresponds to one by one of each mobile phone, and the code is the only one in the world. Each handset will be given a globally unique set of numbers that will be recorded by the manufactur
Obtain the IMEI, mobile phone name, system SDK version, system version, and imeisdk of the device.
1. Get device IMEI
TelephonyManager tm = (TelephonyManager) getSystemService (Context. TELEPHONY_SERVICE); String IMEIs = tm. getDeviceId ();
Required Permissions
Result: 867463029221621
2. Get the mobile phone
1. Generally, IMEI is obtained on all mobile phones:
IMEI information can be obtained by entering * #06 # on the mobile phone
2. Obtain the software version information:
Sony Ericsson -------------------- press "right * left *" in the standby mode of the version number to indicate the direction of the joystick. You
/*
* Software version number of the device:
* For example: The IMEI/SV (software version) for GSM phones.
* Return NULL if the software version is not available.
*/
Tm.getdevicesoftwareversion (); //string
/*
* Phone Number:
* GSM mobile phone's MSISDN.
* Return NULL if it is unavailable.
*
application can be obtained through the getPackageName () method of Activity or Context (Activity inherited from Context). However, many settings can be added, usually set to 0. Finally, the PackageManager object is obtained. The Context object provides the getPackageManager () method to obtain the object. In summary, the template code is as follows: (Note that the encapsulated method is located in an Activity, so this is used directly to replace the Context object) 1/** 2 * Get version 3 * @ r
password.First use the ADB to enter the shell mode of the phone. Then adb pull Data/system/gesture.key gesture.key. Copy the files stored in the key to your computer. Open the Gesture.key file with C32asm and discover that its file contents are SHA1 encrypted. 1 is shown below:Figure 1Because the key is a point-based password, the password that is decrypted for the SHA1 key should be greater than 4 bits less than 9 bits. The
Write in front, send this post I think, maybe a lot of people can not use, then you become popular science understand, in fact, each game, the software will get your IMEIDon't talk nonsense, start!When developing a mobile app, developers are most concerned about how many users have installed and are using the mobile software they are developing. This requires identifying the uniqueness of the phone. Now I know there are two ways to get the
database, Mobile is the most commonly used lightweight database although I did not use. Add a SQLite Manager tool to the Firefox extension tool to access the contents of this database! Save to download SQLite.After installation, open the SQLite manager interface as followsHave a meal and wait to write. It's a waste of time to write a blog after a few minutes of cracking.···· Come on, simply write the steps:1, put just that filemanage.sqlite file with this SQLite manager open (too simple to read
The following is the Android read the user number, mobile phone number, SIM card serial number of the implementation code is introduced, need friends can come to refer to the next
1, using the method provided by Telephonymanager, the core code:
Copy Code code as follows:
Telephonymanager TM = (Telephonymanager) this.g
Recently do a project, need to get mobile phone number. The mobile card used in the project is a telecom card, so take this as an example.
The method of not meeting the requirement on the Internet
Google a bit, the online practice is as follows:
Get cell phone number
Telephonymanager TM = (Telephonymanager)
:i/system.out (952): SubscriberId (IMSI) = 46000xxxxxxxx4674So let's explain what the above information means.Getnativephonenumber Get the phone numberDeviceId (IMEI) Mobile International Mobile Subscriber IDNetworkoperator Mobile operator numberNetworkoperatorname Mobile operator NameSimserialnumber simoperator simcountryiso simserialnumber SubscriberId (IMSI) Some details about mobile SIM cardIn fact, the
* #06 #
IMEI code, which is what we call mobile phone number, almost so the mobile phone is applicable, IMEI is "International Mobile Equipment Identification Code", IMEI=TAC+FAC+SNR+SP, where the TAC is the approved
You need to obtain the mobile phone number for a recent project. The mobile phone card used in the project is a telecom card.
Methods that do not meet the requirements on the Internet
Google:
// Obtain the mobile phone number TelephonyManager tm = (TelephonyManager) this. g
_ imsi;}Return "unknown ";}
3,
Public static String getImsi (Context context ){TelephonyManager tm = (TelephonyManager) context. GetSystemService (Context. TELEPHONY_SERVICE );String deviceid = tm. getDeviceId (); // obtain the unique ID of a smart device.String te1 = tm. getLine1Number (); // obtain the local numberString imei = tm. getSimSerialNumber (); // obtain the serial number of the SIM cardString
If your notes are synchronized successfully, this may be the result of your login to the wrong account.
You can try using micro-blog mail directly or click on a third party authorization to log in, reminding you that the two landing methods corresponding to the different accounts, can not be associated.
If you still do not, you can successfully log in and commonly used equipment information sent to us, as follows:
(1) Iphone/ipad
You can send the wireless LAN
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.