I'm looking to make a custom music player widget for my homescreen which will be attached to the stock music player on my phone. The controls on the widget will be very basic: play/pause, previous song and next song. It would also display the name of the song and the artist.
My question is if it is possible for your own widget to interact with the stock music player on an Android device. If yes, how could I achieve this? Are there any tutorials or articles on this around? I have found a couple of pages that mention something on this subject, but I can't find a clear answer.