title: Android music player lock screen
body: <p>A few days ago I updated my Samsung Galaxy S4 Mini's android version and saw a new feature when I locked my screen while the music player was playing. I always used the amazon media player to play my music. It has a custom lock widget. However, now it has two?! The old custom one and a new one. However, the "new" one is the same when I use different media players. It sets the background image to the album art of the current song and 3 buttons to control the playback. </p>
  
  <p><a href="http://i582.photobucket.com/albums/ss269/netbookc/XB1/XperiaSICSFirmware_06.png" rel="nofollow">This is a picture of how it looks like when I play music with almost any media player I have (except my self made one) and lock the screen.</a></p>
  
  <p>How do I let my player use this apparently default lock screen widget to control my media playback?</p>
  
  <p>Edit:
  I am not talking about a player I downloaded. I am creating my own music player.</p>