I am an Android newbie and I wanna create a simple mp3 player. Now, as far as I understood, good way to do this would be to have a service which would be in charge of MediaPlayer class, and an activity which would represent some sort of UI and also send playing instructions to the service (play, stop, next, etc).
My question is what approach to use for activity-service communication? I tried figuring out these examples, but I don't see how I can implement pause song, next, previous etc. features of the player.
So I am just interested in concept and maybe some useful links which would guide me a little. Thanks!