Questions tagged [mediabrowser]
18 questions
0
votes
1 answer
PlaybackState for MediaControllerCompat
I was following through this guide to building a background audio app with MediaSessionCompat and bumped into a problem.
In my Activity, I connect my UI to media controller as below
private MediaBrowserCompat.ConnectionCallback…

ohnu93
- 263
- 6
- 22
0
votes
0 answers
MediaBrowserCompat's "connect()" method always return to onConnectonFailed() on Oreo, but works fine on Marshmallow
MediaBrowserCompat's "connect()" method always return to onConnectonFailed() on Android Oreo but works fine on Marshmallow
My "MediaActivity" onCreate() contains
mediaBrowserCompat = new MediaBrowserCompat(this, new…

Kiran Sonar
- 1
- 2
0
votes
1 answer
Android: Playback State on Media Browser Client returns null pointer exception
I'm currently developing a simple media player using a client/service approach using MediaBrowser compat from the Android support library.
I'm getting the following exception:
FATAL EXCEPTION: main
Process: valdivia.peter.inclubooks, PID:…

MonoFloyd
- 1
- 2