How to add selected songs from music gallery in android
<p>I want to open the music gallery and then add the selected song to a list.After selecting the song,will move to another screen.After that I want to play the selected songs one by one.
I tried the below code but it open the library and play the selected song once clicked.</p>

<pre><code>final Intent intent2 = new Intent(Intent.ACTION_GET_CONTENT);
          intent2.setType("audio/*");
          startActivityForResult(intent2, 1);
</code></pre>

<p>Thanks in advace.</p>
