How to interact with single service with multiple activities

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

Hi,

I am trying to create a music application, where music will be played in service class. i-e all the controls of MusicPlayer is defined in the Service class. The activity which is binding to the service is implementing onServiceConnected() and onServiceDisconnected() from ServiceConnection. The activity which is binding can interact with the service. But How to control the MediaPlayer buttons which is in service in other Activity.
 

Latest posts

Trending Posts

Forum statistics

Threads
955,961
Messages
6,966,251
Members
3,163,446
Latest member
Laurie2Megan