title: Android:open default audio player
body: <p>I am making an app in which I have to open default audio player. My code is as follows:</p>
  
  <pre><code>Intent intent = new Intent();           
  intent.setAction(android.content.Intent.ACTION_VIEW);  
  File file = new File(songs.get(position));  
  //String introURI = "file:///sdcard/"+".mp3";  
  intent.setDataAndType(Uri.fromFile(file), "audio/*");  
  startActivity(intent);
  </code></pre>
  
  <p>When the song is touched, the player gets open but it gives message that "this type of file is not supported".</p>