android - RemoteControlClient - is Audio Focus necessary/required? -
i'm newbie remotecontrolclient
, i'm still looking it. however, i've seen can used media buttons play/pause on lock screen.
anyway, question is, audio focus required remotecontrolclient
work show on lock screen? don't have form of audio focus app (and maybe way media player implemented app not best way so), , lock screen controls aren't showing up.
i'm finding randommusicplayer example little confusing, if helps answer @ all.
yes, found out audio focus required have audio controls displayed on lock screen. implemented according randommusicplayer , works fine now. , yes agree randommusicplayer bit confusing sample. requires reasonable time figure out. here's nice tutorial audio focus can use http://developer.android.com/training/managing-audio/audio-focus.html.
Comments
Post a Comment