title: Android - Intent Filter?
body: <p>I am trying to register my Activity so that it can be used by the Activity chooser/picker allowing a user to choose whether or not to select my application/Activity to complete what they are trying to do.</p>
  
  <p>I want to provide the option for the user to be able to select my application when they want to send an SMS message and when they want to place an outgoing call, to try to achieve this I added the following pieces of code within my Activity tags in my manifest:</p>
  
  <pre><code>&lt;intent-filter&gt;
  &lt;action android:name="android.intent.action.SENDTO" /&gt;
  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
  &lt;data android:mimeType="text/plain" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;intent-filter&gt;
  &lt;action android:name="android.intent.action.NEW_OUTGOING_CALL" /&gt;
  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>However the Activity chooser never appears and the native apps are used without providing a choice to the user. Can anyone see where I am going wrong?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I have figured out I need to add </p>
  
  <pre><code>&lt;data android:scheme="sms" /&gt;
  &lt;data android:scheme="smsto" /&gt;
  </code></pre>
  
  <p>for the SMS message but what do I use for the outgoing call?</p>
  
  <p><strong>EDIT 2:</strong></p>
  
  <p>I have tried the following for the outgoing call:</p>
  
  <pre><code> &lt;intent-filter&gt;
   &lt;action android:name="android.intent.action.VIEW" /&gt;
   &lt;action android:name="android.intent.action.DIAL" /&gt;
   &lt;category android:name="android.intent.category.DEFAULT" /&gt;
   &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
   &lt;data android:scheme="tel" /&gt;
   &lt;/intent-filter&gt;
  </code></pre>
  
  <p>But again with no luck, has this been blocked from 1.6 on?</p>
  
  <p><strong>Edit 3:</strong></p>
  
  <p>This is what happens when I click Text Mobile:</p>
  
  <p><img src="https://i.stack.imgur.com/cif2V.png" alt="alt text"></p>
  
  <p>So i want the same thing when I click Call mobile</p>