Select application to open links with in Android
<p>I want to write an app that allows me to remotely start downloading a torrent on my desktop from my phone. How can I change android to open magnet links with my app? I'm trying to find a non-browser specific solution that can be executed on install without the user having to go through settings.</p>

<p>EDIT:</p>

<p>Something like this?</p>

<pre><code>  &lt;intent-filter&gt;
    &lt;action android:name="android.intent.action.VIEW" /&gt;
    &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
    &lt;category android:name="android.intent.category.DEFAULT" /&gt;
    &lt;data android:scheme="magnet" /&gt;
    &lt;data android:host="*" /&gt;
    &lt;data android:mimeType="application/myApp" /&gt;
  &lt;/intent-filter&gt;
</code></pre>
