androidandroid-contactsdual-sim

How to read dual sim device both sim contact in android


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.


Solution

  • 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.