android's MediaPlayer won't load file from assets
<p>I want to play a sound from assets.</p>

<pre><code>try {
    AssetFileDescriptor afd;
    afd = cont.getAssets().openFd("bomb.oog");
    MediaPlayer player = new MediaPlayer();
    player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
    player.prepare();
    player.start();
} catch (IOException e) {
    e.printStackTrace();
}
</code></pre>

<p>it prints <strong><code>java.io.FileNotFoundException: bomb.oog</code></strong> , yet I do have this file in my assets folder.
<br>Context cont also isn't blank.</p>

<p>What do you think might be the problem?</p>

<p>Thanks!</p>
