When a user makes a phone call through dial-up or contacts, I would like to be listed as one of the applications that can manage it, for example, for Skype or Viber or other applications for the phone.
I tried to no avail many different solutions, for example, add the following intent filter to the manifest filter:
<intent-filter> <action android:name="android.intent.action.CALL_BUTTON" /> <action android:name="android.intent.action.CALL" /> <action android:name="android.intent.action.DIAL" /> <category android:name="android.intent.category.DEFAULT" /> <data android:scheme="tel" /> <data android:scheme="dial" /> </intent-filter>
All questions about this here in stackoverflow don't help me; they are vague and they do not work.
EDIT: tried to put an intent filter also in the activity manifest tag. The same result. I also tried to use the CALL_PRIVILEGED action, even if it should not be used by third-party applications:
<intent-filter> <action android:name="android.intent.action.CALL_PRIVILEGED"/> <category android:name="android.intent.category.DEFAULT" /> <data android:scheme="tel" /> </intent-filter>
source share