I am trying to use this query to read the contacts on the SIM.
cur = managedQuery(Uri.parse(\"content://icc/adn\") ,null
i got it,
String simUrl = "content://icc/adn"; Intent intent = new Intent(); Log.d(TAG, "simUrl=" + simUrl); intent.setData(Uri.parse(simUrl)); Uri uri = intent.getData(); Cursor mCursor = context.getContentResolver().query(uri, null, null, null, null);
and then, for(...){...}, you know