You don't need a service to play sounds during a game. Just use the MediaPlayer API. http://code.google.com/intl/fr/android/toolbox/apis/media.html
R/ On Sun, Dec 14, 2008 at 9:25 PM, Imran <imran...@gmail.com> wrote: > > Hi All > > i am developing a small game, now i need to write a service > for playing sounds.. the problem is i am new to Service's concept.. > > can i write a service tat runs in background when the game is > started. and also all my activities should able to communicate with it > ( i.e the service should not stop when i switch from one activity to > another ) \ > > please give me sample code if possible > > Thanks in Advance for any replays...!!!! > > Cheers > Imran > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---