Re: [android-developers] accessing media player declared in a service from my main activity

2011-09-16 Thread TreKing
On Thu, Sep 15, 2011 at 10:36 PM, ruchira ruchira...@gmail.com wrote: Do I have to bind the service to the activity or what should I do?? Probably. See the LocalService example in the Service documentation.

[android-developers] accessing media player declared in a service from my main activity

2011-09-15 Thread ruchira
I am a newbie to android development.I am trying to put background music for my app.I used intent service wherein I declared media player and from my main activity the service was called by explicit intent. Though the media player plays the music file but I am stuck with following issues:- 1)I