Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
358 views

In the context of a MediaBrowserService for audio playback I need to provide image files via a ContentProvider (FileProvider). The URIs are propagated via meta data related to media browsing and ...
1 vote
0 answers
361 views

I want remote control phone music playback from WearOS watch just for play/pause/next/previous as system app does. I have google a lot, building a media browser client in WearOS app looks right to ...
2 votes
0 answers
159 views

I have been trying to build an audio podcast app in which I need one feature of playing audio that should show in the notification bar/ lock screen just like any other music app. For that, I have used ...
0 votes
0 answers
277 views

Leak is : 19583-19583/com.example D/LeakCanary: ​ ┬─── │ GC Root: Global variable in native code │ ├─ android.service.media.MediaBrowserService$ServiceBinder instance │ Leaking: UNKNOWN │ ...
2 votes
1 answer
1k views

I'm just setting out with teaching myself about Android audio development, and I'm rather baffled as to why neither the onConnected nor the onConnectionFailed method of connectionCallback is called ...
11 votes
2 answers
857 views

I am trying to expose media items to other media apps that can browse my app's content through my MediaBrowserServiceCompat service. In my onLoadChildren method I am constructing MediaBrowserCompat....
5 votes
0 answers
577 views

In MediaServiceBrowser or MediaServiceBrowserCompat, there are two methods: public abstract void onLoadChildren (String parentId, Result<List<MediaBrowser.MediaItem>> ...
2 votes
1 answer
862 views

Recently, I've been trying to implement pagination on the Android Auto part of my application. To do so, I took inspiration from this Medium post. This question is also related. However, I am still ...
1 vote
0 answers
264 views

I created multiple instances of MediaBrowserCompat in activities and fragments in my app and in this situation every component must create MediaBrowserCompat and connect it to service and so on. For ...
0 votes
1 answer
99 views

In my media app, I keep all the media items as MediaBrowserCompat.MediaItem I'm adding a rating to these items. To read the rating from a MediaItemCompact, Android provides public RatingCompat ...
0 votes
1 answer
2k views

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 ...
0 votes
0 answers
49 views

MediaBrowserCompat's "connect()" method always return to onConnectonFailed() on Android Oreo but works fine on Marshmallow My "MediaActivity" onCreate() contains mediaBrowserCompat = new ...
3 votes
1 answer
3k views

I'm trying to connect to a MediaBrowserService from an activity using a MediaBrowser. However, my onConnected callback never seems to be called to allow me to set up the MediaController and start ...
1 vote
1 answer
2k views

My audio streaming app have this issue in Crashlytics, with the stacktrace below Fatal Exception: java.lang.IllegalStateException: getExtras() called while not connected (state=...
ChinLoong's user avatar
  • 1,833
0 votes
1 answer
2k views

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 ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /