I have a small mp3 (326KB) in my res/raw folder. In my code, I have

mPlayer = MediaPlayer.create(FakeCallScreen.this, R.raw.sample);

mPlayer.prepare();
mPlayer.start();

The application just crashes when it tries to start the activity, I
cannot figure out why.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to