How to play audio file of format wav in android webview?
<p>This is my code: mp3 format file plays without any error, but wav format brings MediaPlayer error(1,-1):</p>

<pre><code>try {
        MediaPlayer player = new MediaPlayer();
        player.setAudioStreamType(AudioManager.STREAM_MUSIC);
        player.setDataSource("h*.wav");
        player.prepare();
        player.start();} catch (Exception e) {
        // TODO: handle exception
    }
</code></pre>
