The default Android music player displays the current playing album, along with play/pause and next/previous track buttons on the lock screen. Is there any good way to use or replicate this functionality, without going through a lot of pain, or making the app slow or brittle (e.g. not working on all devices)?
Related (getting information from the built-in music player): Can MediaPlaybackservice be used for getting information of currently playing audio file in android?
Thanks in advance!
Try looking at the RemoteControlClient documentation. I think think you can make use of the existing controls in the android os.