0

To read sim contact we use below URi

    Uri simUri = Uri.parse("content://icc/adn/");
    ContentResolver mContentResolver = this.getContentResolver();
    Cursor c = mContentResolver.query(simUri, null, null, null, null);

By using this uri i only get my master sim contact not both sim contact, according to my requirement i have to read only sim contact. using above code i only read one sim contact. help me in find out solution that how can i read both sim contact. thanks in advance.

Lokesh
  • 3,247
  • 2
  • 33
  • 62

1 Answers1

2

I also tried it once. After so many research I found the following link,

dual sim android sdk

Dual SIM card Android

To handle two sims, one need to contact the manufacturer.

Community
  • 1
  • 1
Pihu
  • 1,041
  • 11
  • 35
  • thanks for your reply, can you refer me please official doc for this...i looking for official ans. – Lokesh Jan 12 '15 at 07:08
  • sry but i looking for an official ans. – Lokesh Jan 12 '15 at 07:21
  • I am looking for it. Wait – Pihu Jan 12 '15 at 07:21
  • Hi Lokesh, as far as official website my search is still going. I found this link http://www.wenda.io/questions/362062/detect-the-status-of-two-sim-cards-in-a-dual-sim-android-phone.html It may help. – Pihu Jan 12 '15 at 08:41
  • suppose i have to create contact programtically in sim1 and sim2 then can you please tell me what Sim URI we will Use thanx . @Pihu – Mhanaz Syed Feb 06 '18 at 16:11