java - Get IMEI in GenyMotion emulator -
hi i'm developing android application runed on genymotion emulator , in application need device imei null value same logic works avd emulator or android smartphone
telephonymanager telephonymanager = (telephonymanager) getsystemservice(context.telephony_service); imei = telephonymanager.getdeviceid();
with permission added manifest
<uses-permission android:name="android.permission.read_phone_state" />
the .getdeviceid()
is not reliable , yes returns null if emulator. found link might you. alternative
Comments
Post a Comment