Android에서 SMS 대화 목록을 여는 데이 코드를 사용합니다. 그것은 휴대 전화의 대부분에서 아주 잘 작동 :android에서 SMS 대화 목록 열기
이 java.lang.SecurityException : 권한 거부 :
Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setClassName("com.android.mms", "com.android.mms.ui.ConversationList"); startActivity(intent);
하지만이 오류 얻을 (갤럭시 S3와 같은) 일부 휴대 전화에서
시작 의도 {행위를 = android.intent.action.MAIN cat = [android.intent.category.LAUNCHER] cmp = com.android.mms/ui.ConversationList} from ProcessRecord {-------} uid에서 내 보내지 않았습니다. 10098
나는 이해하지 못합니다. 무슨 소리 야? 매니페스트는 모든 휴대 전화에서 동일합니다. – Ton