Lines Matching refs:Phone
26 import android.provider.ContactsContract.CommonDataKinds.Phone;
43 Phone._ID,
44 Phone.TYPE,
45 Phone.LABEL,
46 Phone.NUMBER,
47 Phone.DISPLAY_NAME
58 mPhone = (TextView) findViewById(R.id.phone);
62 // This query will only return contacts with phone numbers
63 Cursor c = getContentResolver().query(Phone.CONTENT_URI,
64 PHONE_PROJECTION, Phone.NUMBER + " NOT NULL", null, null);
73 new String[] {Phone.DISPLAY_NAME},
84 String phone = c.getString(COLUMN_PHONE_NUMBER);
87 if (type == Phone.TYPE_CUSTOM) {
91 String numberType = (String) Phone.getTypeLabel(getResources(), type, label);
92 String text = numberType + ": " + phone;