Re: [android-developers] application crashes when trying to play media in res/raw

2010-11-16 Thread TreKing
On Thu, Nov 11, 2010 at 8:45 PM, Daniel Quach wrote: > I cannot figure out why. > Neither can we without more information. Like a stack trace perhaps? - TreKing

[android-developers] application crashes when trying to play media in res/raw

2010-11-15 Thread Daniel Quach
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 becau