user430926
user430926

Reputation: 4057

Playing sound in android

mp=MediaPlayer.create(AlarmAlert.this, R.raw.clear); mp.seekTo(0); mp.start();

I use this code in my application, it's working when i try it in android emulator. The application size is around 356KB in emulator. But when i install the .apk in my phone there are o sound at all and the application size only around 50 KB.

What could be the problem? Installation problem??

Thanks.

Upvotes: 0

Views: 743

Answers (1)

WarrenFaith
WarrenFaith

Reputation: 57672

Sounds like an installation issue. How do you start/install your application? Take a look at this: .apk does not contain current icons - why?

Upvotes: 1

Related Questions