Questions tagged [imei]

International Mobile Equipment Identity a number, usually unique, to identify 3GPP (i.e., GSM, UMTS and LTE) and iDEN mobile phones, as well as some satellite phones.

From http://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity

It is usually found printed inside the battery compartment of the phone. It can also be displayed on the screen of the phone by entering *#06# into the keypad on most phones.

The IMEI number is used by a GSM network to identify valid devices and therefore can be used for stopping a stolen phone from accessing that network. For example, if a mobile phone is stolen, the owner can call his or her network provider and instruct them to "blacklist" the phone using its IMEI number. This renders the phone useless on that network and sometimes other networks too, whether or not the phone's SIM is changed.

The IMEI is only used for identifying the device and has no permanent or semi-permanent relation to the subscriber. Instead, the subscriber is identified by transmission of an IMSI number, which is stored on a SIM card that can (in theory) be transferred to any handset. However, many network and security features are enabled by knowing the current device being used by a subscriber.

258 questions
358
votes
20 answers

How to get the device's IMEI/ESN programmatically in android?

To identify each devices uniquely I would like to use the IMEI (or ESN number for CDMA devices). How to access this programmatically?
Tom
  • 7,016
  • 9
  • 32
  • 35
114
votes
8 answers

Android : Check whether the phone is dual SIM

After a lot of research on forums, now I know that there is no way to find IMSI or SIM serial number for both the SIM cards in a dual SIM phone (except for contacting the manufacturer). Now my changed question is, can we at all detect that the phone…
Rajkiran
  • 14,425
  • 24
  • 69
  • 108
67
votes
12 answers

I am getting IMEI null in Android Q?

I am getting the IMEI ID null from the telephonymanager. What to do? is there any workaround for that?
Aman Verma
  • 2,465
  • 4
  • 21
  • 41
29
votes
5 answers

Android 10: IMEI no longer available on API 29. Looking for alternatives

Our client's app main feature is heavily relaying on tracking their clients' devices, they offer products that are bound to the specific phone(not its owner). This was possible using the device imei, but with the privacy changes in Android 10, they…
kvnnj.m_av
  • 291
  • 1
  • 3
  • 4
25
votes
2 answers

How can I get both IMEI numbers from dual SIM mobile?

How can I get both IMEI numbers from dual SIM mobile? Can anyone help me to resolve this problem.
VenkaReddy
  • 2,811
  • 2
  • 25
  • 29
22
votes
7 answers

How to get IMEI on iPhone?

I want to get IMEI on iPhone. I try to use the following code: #import "Message/NetworkController.h" NetworkController *ntc=[[NetworkController sharedInstance] autorelease]; NSString *imeistring = [ntc IMEI]; But NetworkController is not found. I…
Chilly Zhong
  • 16,373
  • 23
  • 75
  • 103
20
votes
5 answers

My app violates the Android Advertising ID policy

Google Play Team has rejected my app because: The advertising identifier must not be connected to personally-identifiable information or associated with any persistent device identifier (for example: SSAID, MAC address, IMEI, etc.) without…
ilopezluna
  • 4,925
  • 7
  • 37
  • 66
15
votes
12 answers

Programmatically retrieve IMEI number for dual SIM in android

For single SIM following code works: TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); String imei= tm.getDeviceId(); For dual SIM I tried code on following link: Android : Check whether the phone is dual SIM But it didnt…
NehaC
  • 189
  • 1
  • 1
  • 5
14
votes
8 answers

How to get IMEI number in PhoneGap?

I'm developing a PhoneGap Android mobile application using jQuery, JavaScript and HTML. I want to get the mobile IMEI. I have tried this code from this Tutorial. I am getting the number like this: 97734a345d234d. I have checked my device to get IMEI…
Mercy
  • 1,852
  • 7
  • 39
  • 75
14
votes
1 answer

Add IMEI and MAC to wlan0 to Genymotion/AndroVM

Is there any way to add IMEI to AndroVM (now Genymotion) or any other Android Emulator. And also I want MAC address for wlan0 port. We already have emulators which contain MAC at lan0 port but not for wlan. How can we do so? if someone in your…
Manan Sharma
  • 634
  • 2
  • 14
  • 26
13
votes
2 answers

Detect SIM change OR find IMSI of the SIM using official iOS SDK?

I am developing an app for a mobile carrier. First I wanted to find any of the things (IMSI, ICCID, IMEI, MSISDN) so that I can detect if the SIM is related to my mobile carrier. But I guess Apple doesn't allow that. Now as a workaround I will ask…
orak
  • 2,159
  • 5
  • 27
  • 51
11
votes
6 answers

Using Telephony Manager in android to find IMEI number

I m very new to Android Development. I want to find the IMEI number of the phone and using "android.telephony.TelephonyManager;". TelephonyManager telephonyManager =…
Arsalan
  • 119
  • 1
  • 1
  • 4
10
votes
1 answer

TelephonyManager returns null for IMEI number: what can cause this?

I'm working on an Android app and am getting null back for the IMEI number when using TelophonyManager. This is happening on several Huawei phones. (All of them are Ascend Y530s). The phones all have sim cards and otherwise seem to be operating…
Zach Smith
  • 6,866
  • 8
  • 42
  • 92
9
votes
4 answers

How to get imei on iPhone 4S?

I need to get imei on iPhones. I use https://github.com/erica/uidevice-extension/blob/master/UIDevice-IOKitExtensions.m to get IMEI. It works fine on iphone 4, 3GS ... even with ios5. But with iPhone 4S, imei is empty. Does somebody have a solution…
nico24
  • 121
  • 2
  • 4
9
votes
3 answers

why emulator giving IMEI number 000000000000000

I found many post regarding this but not properly given answer. My application needs IMEI number ,i did that but it is showing 000000000000000(15 zero's). it is working fine with device but i want it run properly on my emulator. i want some unique…
Adb
  • 195
  • 1
  • 4
  • 13
1
2 3
17 18