64 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
64
views
How to show search results in Android Car using UI keybord: sendResult() called when either sendResult() or sendError() had already been called for
I have an android media browser service app and want to make it ready for Android Car.
I want to implement keyboard search. For that I implement onSearch() method.
ExecuteSearch(query) does the search ...
0
votes
1
answer
55
views
how to show indicator for current playing queueitem in mediabrowserservice (android auto) android?
enter image description here
i want to show indicator icon like above image
I will try lots of but i havent idea. how to do it like this
0
votes
1
answer
456
views
MediaSession.Callback onPrepareFromMediaId not triggered from android auto
I'm working on an Android project that uses MediaSession and it seems no matter what I do , MediaSession.Callback's onPrepareFromMediaId function is not triggered from the Android Auto.
The onGetRoot ...
1
vote
0
answers
359
views
How to control music playback on the phone from WearOS watch
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 ...
0
votes
1
answer
268
views
Controlling the speed in ExoPlayer via MediaBrowserServiceCompat
How can I control the speed from an exo player via the UI to MediaBrowserServiceCompat?
Does Android provide a normal solution for it?
-1
votes
1
answer
209
views
How to control play/pause state of MediaBrowserServiceCompat from RecyclerView?
I have an app that uses MediaBrowserServiceCompat to play audio. I have a RecyclerView that displays a list of media items, and I want to be able to control the play and pause state of each item from ...
2
votes
1
answer
418
views
How to start a MediaBrowserServiceCompat in Automotive OS?
I am sending a notification from a worker that has an action which should open the media app. In other words, I want to start the MediaBrowserServiceCompat when the action is clicked. I tried this ...
0
votes
2
answers
929
views
Bluetooth Headset media buttons not working on Android using media2 nor media3
I'm building an app which needs to trigger an audio menu. For that purpose I need to intercept clicks on media buttons, specifically the play/pause button.
It is working fine using wired headsets and ...
0
votes
1
answer
298
views
Android Auto - click on list entry put nothing happens
I'm struggling with Android Auto using Desktop Head Unit Emulator.
So far I create my media app in Android Auto, start it and all media albums where shown.
However, when I click on an entry, nothing ...
6
votes
3
answers
2k
views
Android Auto: Media item gets stuck "Getting your selection..." instead of showing controls while playing
I've got a PlaybackService.kt class that implements MediaBrowserServiceCompat() since that is required for Android Auto support. The player itself works great in-app. The app is 95% used for HLS ...
2
votes
0
answers
159
views
How to access SimpleExoPlayer instance inside MediaBrowserServiceCompat with PlayerControlView?
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
369
views
Implementing a MediaBrowserServiceCompat in a HeadlessJsTaskService
I'm working on a music player in my React Native app. I have a fully functioning player right now based on ExoPlayer 2.17.1 that is controlled by a MusicService class extending HeadlessJsTaskService()....
0
votes
0
answers
277
views
How to resolve leak at androidx.media.MediaBrowserServiceCompat?
Leak is :
19583-19583/com.example D/LeakCanary:
┬───
│ GC Root: Global variable in native code
│
├─ android.service.media.MediaBrowserService$ServiceBinder instance
│ Leaking: UNKNOWN
│ ...
0
votes
1
answer
706
views
How can I change Media items in Android MediaBrowserServiceCompat
I am making an Android Auto based media player. I really have one page of media that can be played, but sometimes the titles of these items change. Lets say the first item says 'news of the hour for ...
5
votes
0
answers
698
views
How can I disable the Android 11 media notification for my application when using ExoPlayer's media2 extension?
I have an application that plays videos using ExoPlayer. A notification is created using the PlayerNotificationManager and MediaDescriptionAdapter from ExoPlayer.
On Android 11 on a Pixel 5 (but not a ...