Receive song information from spotify. How does the locksceen accomplish this?

joakim_5937x

Senior Member
Jan 6, 2011
251
57
0
Hi!

I'm developing an app that needs to receive information about the currently playing song. It seems that there are several ways to achieve this but none of them includes getting that information from the music player "spotify".

Asked around about this, but nobody seems to have a solution. Started a stackowerflow thread.

Yet it must be a way of doing this due to that the lockscreen in android often are able to show this information. So my question to you guys is:
if anybody know how the android lockscreen get hold of this information and how I can do the same in my app!

Thanks!
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone