2
내가 그들의 contactId의로 연락처의 전화 번호를 조회하려고 시도하고, BLL 결과를 반환하는 - 전화 번호 : 나는 SO 주변의 다른 예를 사용하지만 해봤 1ContactsContract 조회 전화 번호
내가 점점 계속 커서
Uri uri = ContentUris.withAppendedId(Data.CONTENT_URI, contactId);
Log.i(TAG, "Locate Contact by Id: " + contactId + " at Uri: " + uri.toString());
Cursor cursor = this.getContentResolver().query(uri, null, null, null, null);
try {
if (cursor.moveToFirst()) {
Log.i(TAG, "Phone Number: " + cursor.getString(cursor.getColumnIndex(Phone.NUMBER)));
}
} finally {
cursor.close();
}
사용하신 조회 키는 무엇입니까? –