1. Check out our companion app, Forums for Android! Download from Google Play

Need help in coding

Discussion in 'Android Apps & Games' started by namdaemun, Apr 18, 2011.

  1. namdaemun

    namdaemun New Member
    Thread Starter

    Mar 11, 2011
    I've just started learning to build android apps a week ago and now I'm playing with MediaPlayer class.

    I'm building an app that will play a sound once the user clicks the button

    here's my code :

    It was compiled successfully and worked on my emulator. but when I installed it on my motorola droid, the sound won't come out. I've set the volume to max, but nothing happens. I think it's probably because of the source code

    I'll be very grateful if you can point out my mistakes in my source code

    THX for the help...^^ :D:D:D


Share This Page