How does the android lockscreen get playing song?
<p>Recently posted a <a href="http://stackoverflow.com/questions/14199293/get-current-playing-song-from-spotify">question</a> how to get the current song playing from the music app spotify, there seems by the response that there are no easy way of doing this.</p>

<p>The android lockscreen at least in 4.0+ will show the current song and works with almost any music player including spotify. So my question is how does the lockscreen get this information?</p>
