title: Open mp3 files in android default media player on the same activity
body: <p>I am developing an Android application in which I am showing a <code>ListView</code> of mp3 files from the sd card.</p>
  
  <p>Now what I want is that when user clicks on any of the mp3 files it should start playing there on the same <code>Activity</code>. The code which I am using presently is not working for me to play audio files.</p>
  
  <p>My code:</p>
  
  <pre><code>Uri uri = Uri.parse("/sdcard/music/sample.mp3");
  Intent intent = new Intent(Intent.ACTION_VIEW, uri);
  startActivity(intent);
  </code></pre>
  
  <p><strong>But this is something that I want. This is a screen Shot form android gingerbread</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Z2eDk.png" alt="enter image description here"></p>