title: WAV file MediaPlayer
body: <p>I'm trying to play a WAV file from the SD card. It works on some phones (Nexus S, Nexus One etc.) but not in Xperia Mini series.</p>
  
  <p>Code:</p>
  
  <pre><code>// On some phones, this line works, but on Xperia Mini 
  // series phones MediaPlayer.create()
  // returns null from this line below.
  MediaPlayer mp = MediaPlayer.create(this, Uri.fromFile(new File(filePath)));
  </code></pre>
  
  <p><a href="http://pastebin.com/wSPvHHqp" rel="nofollow">The LogCat error message can be found here</a>.</p>
  
  <p>Any ideas? It certainly works on some phones, but other phones just reject the wav file.</p>