Programmatically retrieve IMEI number for dual SIM in android

后端 未结 12 1132
一生所求
一生所求 2020-12-05 15:19

For single SIM following code works:

TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
String imei= tm.getDeviceId();
12条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-05 15:48

    Yes Android currently not supported Dual Sim. But you can retrive all possible details by using Java reflection.

    I research for fetching dual SIMs details and it works on bellowed devices
    Samsung Galaxy Neo
    Moto E
    Micromax A52
    Micromax Canvas
    Linovo P780
    HTC Dreem
    Moto G
    LG
    HUAWEI Y520-U22
    LG-P705
    Sony ST26i
    I successfully get dual SIM Detials from above models

提交回复
热议问题