1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Need help in coding

Last Updated:

  1. namdaemun

    namdaemun New Member This Topic's Starter

    Mar 11, 2011
    Likes Received:
    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