Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I add my application to the android default Dialer selection?
    primarykey
    data
    text
    <p>My Question is how can I add my application to the android default Dialer selection, to be more specific without using the android.intent.action.CALL_PRIVILEGED?</p> <p>Now I am using this code below, this works fine:</p> <pre><code>&lt;intent-filter&gt; &lt;action android:name="android.intent.action.CALL_PRIVILEGED" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;data android:scheme="tel" /&gt; &lt;/intent-filter&gt; </code></pre> <p>HOWEVER Google recently posted: <a href="http://productforums.google.com/forum/#!topic/mobile/wXqnbynsL8Y" rel="nofollow noreferrer">http://productforums.google.com/forum/#!topic/mobile/wXqnbynsL8Y</a></p> <p>And mailed this to the programmes who does use the intent android.intent.action.CALL_PRIVILEGED:</p> <blockquote> <p>Issue: Users of your application may not be able to make emergency phone calls through the system phone dialer if they've elected to have your application route calls. As noted in the documentation, applications that listen for the CALL_PRIVILEGED Intent action will intercept emergency service calls from the system, but may not be able to route them properly. Please note that CALL_PRIVILEGED is a restricted API, not intended for use within third party applications that cannot route emergency calls properly.</p> <p>Solution:<br> • Remove CALL_PRIVILEGED from Intent filters in Java code and AndroidManifest.xml. • Update your Google Play listing description to include a statement that using your app as a default dialer may interfere with dialing 911 emergency services.</p> </blockquote> <p>The easiest solution my be deleting but then the application would use functionality. But is there another way to add the application to the default Dialer selection? but then without the CALL_PRIVILEGED intent?</p> <p>Thanks in advance</p> <p><img src="https://i.stack.imgur.com/csY6V.png" alt="default dialer selection"></p> <p>Just an example of the default Dialer selection</p> <p>Edit:</p> <p>My other intents that I use:</p> <pre><code> &lt;intent-filter&gt; &lt;action android:name="android.intent.action.CALL_BUTTON" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;data android:scheme="tel"/&gt; &lt;/intent-filter&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.DIAL" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;data android:scheme="tel"/&gt; &lt;/intent-filter&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload