2
、BLL結果が戻ってきていますカーソルContactsContractルックアップ電話番号
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();
}
使用した検索キーは何ですか? –