를 조회하려고, 나는 브로드 캐스트 리시버에서이 코드가 있습니다은 내가 가진 이전 답변에 따라 ContactList
Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(ASenderTel));
// Also tried;
//ContentResolver cr = getContentResolver();
//Context c = this;
Cursor c = getContentResolver().query(lookupUri, new String[] { PhoneLookup._ID }, null, null, null);
return (c.getCount() > 0);
을 ...하지만 ERR의 MSG를 얻을, "방법 getContentResolver()는 유형에 정의되지 않은 KITSMSReceiver "
내가 사용하는 경우 :. 컨텐트 리졸버 CR = getContentResolver() 쿼리 (lookupUri, 새로운 String [] {PhoneLookup._ID} , null, null, null); 가 ... ERR에 MSG가 "있어서 getContentResolver()가 입력 KITSMSReceiver 대해 정의되지 않는다"된다 몹시 복잡 보인다 즉 –