Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

1 vote
2 answers
120 views

show/hide widget based upon the value present

I have a floating action button that contains mini player and i want it to be hidden if the value like music path or title is not present but only show up if somebody passes the data or presses the ...
Ashish Magar's user avatar
0 votes
1 answer
124 views

Overlapping music in a Java game with LibGDX implementation

I am having a problem in with this part of the code, I am creating a very simple game in Java with the implementation of LibGDX. I have three different game states that are handled in three different ...
Riccardo Barbo's user avatar
0 votes
1 answer
511 views

how can i create a stop button in android studio for a audio player

Imma student in IT college and i got a task to make an music player on android, my "track1" is playing, but the second one not, and i need to do a pause button. Thanks in advance package com....
Dumitru Cojucari's user avatar
3 votes
1 answer
2k views

Android Notification not displaying action buttons

Below is the method I am using to build a notification for a media player application. Currently, the song information is being displayed correctly but the action buttons for prev, play, next are not ...
God Usopp's user avatar
  • 471
-1 votes
1 answer
719 views

not getting song files in my app after using flutter audioQuery

I've tried every thing to get songfiles on my app but it still shows nothing, here is my code below: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; ...
wale kuye's user avatar
2 votes
1 answer
5k views

How to play multiple audio files simultaniously in flutter

I have been trying to run the multiple audio files at the same time each having a separate mute button. I have tried AudioPlayer Flutter plugin. I have tried the following code but it makes the files ...
kiran's user avatar
  • 108
1 vote
0 answers
184 views

Using Index position for next or prev songs in MediaPlayer Class

Hi I have been feeling very overwhelmed and discouraged I am stuck. I want to have more than one song in my music player and add next and prev buttons. Can it be done with using an ArrayList of songs ...
Developer Sam's user avatar
1 vote
0 answers
436 views

how to get folders only containing audio file (.mp3) in android

I am making music player with folder functionality and i want to show only folder which is containing music or audio files like .mp3, just like MX Player(show only folders which have video files). I ...
Developer_ rahul's user avatar
0 votes
1 answer
101 views

How lower music volume on playing my app voice guidance in Android and after that increase music again?

I am working on an android map app that like Waze or any other app uses voice guidance to guide people to their destination. My problem is that I want if user play music with his/her phone music ...
Benjamin Sadeghi's user avatar
10 votes
5 answers
17k views

How to implement Exoplayer 2.11.1 in android?

i am trying to implement exoplayer this is my exoplayer version implementation 'com.google.android.exoplayer:exoplayer:2.11.1' i am creating a music player app and i don't know anything about ...
Chirag Patel's user avatar
0 votes
0 answers
160 views

Can we play Audio file from app files path?

I'm developing the mp3 music player application. I want in my application to play the audio file, when user try to play audio file from other apps. When user try to play audio file from Xender app, ...
Sumit Pansuriya's user avatar
0 votes
1 answer
1k views

How can I show song duration and circular seekbar

Im beginner in Android and I'm create one music app but I need to show song duration and circular seekbar on my app
Akshay's user avatar
  • 31
1 vote
1 answer
2k views

How to open browser and youtube app with the title as URL in android with intent create chooser

I am making an android music player application in which i want to add an search functionality that's why i need to implement this like: I want to search the song name and create the chooser for ...
user avatar
2 votes
0 answers
612 views

Use .setDataSource to get mediaMetadata from currently playing music app

I want to get MediaMetadata (song title / artist) from the current playing android audio source for any app (spotify, google play, soundcloud, YouTube, blackplayer, etc) and am trying to use ...
Martin's user avatar
  • 1,596
0 votes
1 answer
146 views

MusicPlayer music repeat "X" times [duplicate]

How can I make this simple music player musics repeat for example 5 times or to loop the music for 1, 2, or 3 hour. This is my code of a simple music player with a music list: public class Musica ...
Jaqueline's user avatar

15 30 50 per page
1
2 3 4 5
16