I found a lot of posts about this, but did not receive a proper response. My application needs an IMEI number, I did it, but it shows 000000000000000 (15 zero). It works great with the device, but I want it to work correctly on my emulator. I need a unique number besides these zeros. if any software solution is here. Put your answer. I have to set this number instead of (15 zeros) "352373051009616"
TelephonyManager telephonyManager = (TelephonyManager) getSystemService (Context.TELEPHONY_SERVICE);
String imei = telephonyManager.getDeviceId ();
textDeviceID2.setText ("Device ID: -" + imei);
any possible solution (both with software and hard code)
source share