문제

I know that I need to use a broadcast Receiver to get the currently playing song. But how do I Get the cover art of this explicit song? On the lockscreen it also works with Spotify or Google Music .. so no local Files are involved?

I am not able to find any clues on the extras of my receiving intent?

도움이 되었습니까?

해결책

The lock screen utilizes a RemoteController, which allows you to listen to any apps that publish music controls via a RemoteControlClient.

Note that RemoteController was only made public in Android 4.4 and is not available prior to that. Unfortunately, there is no standardized broadcasts that fulfill this same role.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top