MediaPlay won't play a sound, why?
<p>Here's my code </p>

<pre><code>MediaPlayer mp = new MediaPlayer();
...
try {
mp.setDataSource( getString(R.raw.click));
mp.prepare();
mp.start();
} catch (IllegalArgumentException e) {
                                        e.printStackTrace();
} catch (IllegalStateException e) {
                                        e.printStackTrace();
} catch (IOException e) {
                                        e.printStackTrace();
}
</code></pre>

<p>yet strangely it give me </p>

<pre><code>09-26 16:06:39.316: INFO/ActivityManager(110): Displayed Constructor.rob.com/.constr: +7s443ms
09-26 16:06:40.445: INFO/StagefrightPlayer(76): setDataSource('res/raw/click.mp3')
09-26 16:06:40.453: ERROR/MediaPlayer(21990): error (1, -2147483648)
09-26 16:06:40.457: WARN/System.err(21990): java.io.IOException: Prepare failed.: status=0x1
</code></pre>

<p>any ideas what might be wrong?</p>

<p>Thanks!</p>
