How to read dual sim device both sim contact in android

不羁的心 提交于 2019-12-20 06:25:03

问题


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.



来源:https://stackoverflow.com/questions/27896796/how-to-read-dual-sim-device-both-sim-contact-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!