0

I have used the code form the answers mentioned in the question How to get All Sim Contacts in Android Progrmmatically?

But for my use case I want to fetch the contacts from SIM only (from both SIMs in case it is a dual SIM phone).

When I use

Uri simUri = Uri.parse("content://icc/adn");

I am getting the contacts from active SIM only

Community
  • 1
  • 1

1 Answers1

1

As it has been said before, the Android SDK doesn't support dual SIMS, as this is something that the manufactures has done customizing the device.

As proposed here:

Dual SIM card Android

You can try contact the manufactures and ask them directly.

Community
  • 1
  • 1
Antonio MG
  • 20,382
  • 3
  • 43
  • 62