Can an Android app (runs on background and uses Spotify SDK) get info of which track the user listens currently at exact time in Spotify Android app?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I think you'd be interested in the Android Media Notifications.
If you are developing an Android application and want to know what is happening in the Spotify app, you can subscribe to broadcast notifications from it.