ATM I get the number and label of a given CONTACT_ID with
String where = ContactsContract.CommonDataKinds.Phone.CONTACT_ID + " = " + contactId;
Cursor c = ctx.getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, where, null, null);
while (c.moveToNext()) {
String number = Tools.getString(c, CommonDataKinds.Phone.NUMBER);
String label = Tools.getString(c,CommonDataKinds.Phone.LABEL);
}
Android has the ability to mark a given number as "default number". How can I find out if the queried number is the default number?