java - How can I make background music for android project -


i'm making small android app image below: enter image description here

i have sound button. want background music play across activity , when click on sound button, music stop. or click play music again.

i dont know how make it. please me! or give me link refer.

i'd gladly appreciate thanks!

in order media played in background of app location when user interacting must start service application's main activity , service shall contain methods related playback. allow activity interact service, service connection required. in short, need implement bounded service.

refer http://www.codeproject.com/articles/258176/adding-background-music-to-android-app


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -