Android : Check whether the phone is dual SIM

前端 未结 8 1950
轻奢々
轻奢々 2020-11-22 01:38

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 ma

8条回答
  •  隐瞒了意图╮
    2020-11-22 01:50

    Tips:

    You can try to use

    ctx.getSystemService("phone_msim")

    instead of

    ctx.getSystemService(Context.TELEPHONY_SERVICE)

    If you have already tried Vaibhav's answer and telephony.getClass().getMethod() fails, above is what works for my Qualcomm mobile.

提交回复
热议问题