how to get contact list without contact from simcard?
so far my cursor looks like this
public final static Uri CONTENT = ContactsContract.CommonDataKinds.Phone.CONTENT_URI;
public final static String ID = ContactsContract.CommonDataKinds.Phone.CONTACT_ID;
public final static String NAME = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME;
public final static String NUMBER = ContactsContract.CommonDataKinds.Phone.NUMBER;
public final static String PHOTO_URI = ContactsContract.CommonDataKinds.Photo.PHOTO_URI;
public final static String STARRED = ContactsContract.CommonDataKinds.Phone.STARRED;
String mSelectionClause = NAME + " IS NULL";
mOrderBy = NAME + " COLLATE LOCALIZED ASC";
Cursor cursor = getActivity().getContentResolver().query(CONTENT, null, mSelectionClause, null, mOrderBy);
what should i add to query to remove sim contact from result?