How to read dual sim device both sim contact in an

2020-05-04 06:27发布

问题:

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.

回答1:

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.