How to set default application using Intents?
<p>If I need to play Youtube video using default youtube player of Android through Intents I can set it:</p>

<pre><code>    Intent youtube=new Intent(Intent.ACTION_VIEW, Uri.parse(mLinks[mPosition].trim()));
    youtube.setPackage("com.google.android.youtube");
    startActivityForResult(youtube, 100);
</code></pre>

<p>But now I need to set default android media player through Intents. How can I do it? Which package name should I use? Thank you. </p>
