How to read dual sim device both sim contact in an

2020-05-04 05:56发布

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条回答
迷人小祖宗
2楼-- · 2020-05-04 06:36

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.

查看更多
登录 后发表回答