android - Get current track info and media controls -
android - Get current track info and media controls -
in android wear google play music seems integrate somehow generic music controls, in android 5 lollipop can done using mediasession
, in pre lollipop can't. can utilize medicacontrollercompat
seems not work, nil on pre lollipop. how can create music media contoller? android wear (or google music mini) can skip next or prev track spotify example)
the remotecontroller older equivalent new mediacontroller
api, made public in android 4.4 (kitkat) , has number of onerous requirements non-system apps (such beingness enabled notificationlistenerservice), hence why deprecated along older remotecontrolclient api apps spotify use.
tl/dr: non-public before android 4.4, public hard utilize on android 4.4, , totally new api on android 5.
android music android-wear google-music
Comments
Post a Comment