내 앱에서 전화를 처리하려고합니다. 통화 (다이얼이 아님)가 만들어지면 활동을 시작할 수 있기를 원합니다. 그럼에도 불구하고 모든 비슷한 앱의 기본값을 지우거나 계정을 삭제하더라도 "사람"활동의 "통화"또는 전화 번호 버튼을 누르면 내 앱이 제안되지 않습니다. 코드 :이 코드가 응용 프로그램 호출을 처리하지 않는 이유는 무엇입니까?
<!-- ... -->
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<!-- ... -->
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.contact.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.CALL" />
<action android:name="android.intent.action.CALL_BUTTON" />
<action android:name="android.intent.action.CALL_PRIVILEGED" />
<action android:name="android.intent.action.DIAL" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="tel" />
</intent-filter>
</activity>
</application>
<!-- ... -->
같아요 나는 호출 또는 적어도 전화와 관련된 가능한 모든 의도를 잡으려고 노력하고 있어요? 그래서 무엇이 잘못 되었나요?
업데이트 : 전화 (예 : 전자 메일 응용 프로그램)에서 테이프를 찍어도 작동하지만 "사람"의 전화는 여전히 처리 할 수 없습니다.
나는 지금했다. 그것은 명백하게 아무것도 변경하지 않는다. – Ivan