Questions tagged [android-music-player]
623 questions
-1
votes
1 answer
Android:Music Player,Unable to start service with null point exception?
There were no errors until i added broadcast receiver for showing the progress of the seekbar.The app was working fine before.
Code for the activity.
package source.justanothermusicplayer;
import java.io.Serializable;
import…

Ankit Srivastava
- 280
- 2
- 7
- 24
-1
votes
1 answer
ANDROID:How to fetch information from this link http://api.discogs.com/artist/ac/dc?
before giving me negative votes for this post please consider these facts....
i have tried many e.gs for parsing information from the internet,
some say that the link above is in json which is made to look like xml,some say its in xml...

Ankit Srivastava
- 280
- 2
- 7
- 24
-1
votes
2 answers
On/Off Music in Android
I have four buttons of my main menu for my android game. In my option, there's on and off. When the user clicks the on button, the music should play when I start to click play. And if the user clicks the off, the music will not play. But the default…

pingboo23
- 137
- 1
- 3
- 15
-1
votes
2 answers
How to use RatingBar in my music player i created for android?
I have created a music player for android for my final year project. It has the basic functions like play, next, previous and also a scroll-bar to select songs from the playlist.
I wanted to use a rating bar to allow the user to set ratings for the…

maestrosan11
- 71
- 11
-2
votes
1 answer
How to check if a music player is installed or not?
I am able to fetch the installed or running app list . Now I want to detect in the list is there any music player app present or not?
public void getRunningProcess() {
List list2 = am.getRunningAppProcesses();
…

Vineet Shukla
- 23,865
- 10
- 55
- 63
-2
votes
1 answer
Music player app not working on android 10
I'm working on a music player and it works on android phones running api 23 - 28 but when I try it on a phone running api 29 the app doesn't play any music.
This is the logcat.
avc: denied { read } for pid=20989 comm="libwatcher_bina"…

Robert Davila
- 11
- 4
-2
votes
1 answer
How to add auto play next song option in my Android app?
I want to add an automatically play next song option when previous is finished in my Android app. I have trying many ways but failed. Please, give full code, not hints.
Here are the Full Class:
public class AlbumPlayActivity extends…

it's JU
- 31
- 1
- 2
- 6
-2
votes
1 answer
Trying to get songlist in a fragment gives nullpointerexception
I want to retrieve the list of songs in a fragment that I'm using for tabbed UI.
public void getSongList(){
ContentResolver musicResolver = getActivity().getContentResolver();
Uri musicUri =…

ZERO
- 1
- 3
-2
votes
1 answer
'Unexpexted Symbol &' and 'Cannot resolve symbol amp'
This line of code is giving me trouble in android studios
if(musicSrv!=null && musicBound && musicSrv.isPng())
The code came from this tutorial I found: Music Player
the full class code is:
package…

Bryant
- 59
- 10
-2
votes
1 answer
Android music player saving song id and now playing list
I am trying to build a music player and while researching the behavior of other apps I have realized that some apps store the now playing list and the song id, so that same state is available when the app is started afresh.
1.) So how to implement…

Rahul Verma
- 25
- 1
- 8
-2
votes
1 answer
how to extract song name currently playing in any music player in android
IntentFiLter iF…

Mehul Parmar
- 347
- 4
- 21
-2
votes
2 answers
How can I play MusicXML file on Android?
Are there any existing tools or libraries for this? I am currently trying to develop an application that can take an image of a sheet music and make it to a musicxml format and play the corresponding audio. And I am stuck on how to exactly play an…

Bryanation
- 11
- 1
-2
votes
1 answer
Develop a music player android app with swipe feature in two weeks
I have to develop a music player application, and in this app different activities has to be swiped through (same interface as google play music where you swipe through different parts).
I want to have just one page (main page), with different tabs…

Alireza
- 71
- 1
- 8
-2
votes
1 answer
How to control android media volume using volume keys
Can anyone provide sample code for adjusting media volume using volume keys, and also it should display a volume alert progress while pressing the keys.

Babin
- 70
- 1
- 1
- 9
-3
votes
1 answer
How to display the album art for a particular song?
I'm creating a music player and now I am stuck on displaying the album art for particular songs.
Please help me.

Pedo
- 194
- 1
- 2
- 14