Read about how to track lost android phone using imei number, The latest news, videos, and discussion topics about how to track lost android phone using imei number from alibabacloud.com
In Android development platform, you can get the native number via Telephonymanager. 1 telephonymanager phonemgr= (telephonymanager)this. Getsystemservice (Context.telephony_ SERVICE); 2 // txtPhoneNumber is a edittext used to display the phone numberNote:Depending on the security mechanism of Android, when
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)
Original article: http://www.cnblogs.com/growing/archive/2010/11/19/1881372.html
Not all mobile phone numbers can be obtained. Only some of them can be obtained. This is because the mobile operator did not write the data of the mobile phone number into the SIM card. the SIM card only has a unique ID for the network and device to identify, that is, the imsi
Recommended reading:
An analysis of Android phone defender SIM card binding
An in-depth analysis of the Android phone defender MD5 encryption when saving passwords
Detailed Android Phone Guardian Settings Wizard page
An analys
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
Zhao yazhi _ android obtains the operator of the local device, the mobile phone number can be obtained, and Zhao yazhi _ android
Not all mobile phone numbers can be obtained. Only some of them can be obtained.
This is because the mobile operator did not write the data of the
Android gets the mobile phone IMSI number
1. What is imsi?
The IMSI (International Mobile SubscriberIdentification Number) identifies different Mobile users. It is stored in SIM cards and can be used to distinguish valid information of Mobile users. The total length is no more than 15 characters, and 0 ~ 9. Among them,
When you contact this tutorial, the method used to select a contact is to read the contact from the database, and then display it with listview. After selecting the contact, the mobile phone number is returned,
In this way, when you click to select a contact, it takes time to load and the displayed contacts do not seem to be full,
In short, it is not good. You do not have to process the interface by calling
Using the Millet number attribution database, there are two tables Data1 and DATA2
First inquires the Data1 table, the cell phone number intercepts the first 7 digits
Select Outkey from data1 where id= "top seven cell phone numbers"
And then query the Data2 tab
Mobile phone numbers are not available for all. Just a part of it can get. This is due to the fact that the mobile operator does not write data from the mobile phone number to the SIM card. The SIM card only has the unique number, for the network and the device recognition that is the IMSI
{ //Set the selectedSiv_item.setchecked (true); Editor.putboolean ("Update",true); } editor.commit (); } }); }}Servicesutils.java Packagecom.qingguow.mobilesafe.utils;Importjava.util.List;ImportAndroid.app.ActivityManager;ImportAndroid.app.ActivityManager.RunningServiceInfo;ImportAndroid.content.Context;/*** Service Tool class *@authorTaoshihan **/ Public classServiceutils {/*** Determine if a service is turned on *@paramContext *@paramServiceName *@retur
Use Chrome on your PC to remotely debug your phone's page
Tool Preparation
Mobile end: Chrome for Android;
PC side: Install Google browser (preferably the latest version of the developer)
USB Cable, that line of your charger.
Turn on debug mode
Use USB to connect your computer and turn on debug mode. Using Android 4.2 or more phones may not have the
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.