Questions tagged [android-music-player]
623 questions
0
votes
2 answers
how to set timer to close android app
I have a music app in android.
Visit http://www.androidhive.info/2012/03/android-building-audio-player-tutorial/
Now I need to close this app with specific time. What is technique I should use?
Thank all

jupiter
- 143
- 1
- 11
0
votes
0 answers
play sound file with a delay and adjust time in android
I am trying to program a sound app where on button click I would like to play 3-4 sound files one after the other. How can this be done? Also I would like to increase the time of play of the files. Is this where the loop variable in play function…

user900785
- 423
- 3
- 14
- 32
0
votes
0 answers
Android IOIO board controlling Android's Music Player
I have connected two buttons to Android IOIO board. They work fine. But here is the question: How do I use these buttons as Next/Previous Song when Music Player is running and playing music. Are here any ideas?

KernelPanic
- 2,328
- 7
- 47
- 90
0
votes
2 answers
How to change the duration of the audiotrack by an infinite loop?
How to change the duration of the audiotrack by an infinite loop?
I understand that I must apply the following line before audioTrack.play():
audioTrack.setLoopPoints (0, generatedSnd.length, -1);
For example, I want the duration will be half a…

ephramd
- 561
- 2
- 15
- 41
0
votes
0 answers
Take me to a particular activity when notification is tapped
I have an activity (Musicplayer.class) which plays music and a notification is shown when the track starts playing however when I tap on the notifaction it takes me back to the main activiy (1st activiy of the app)
How do I modify the code so that…

user1910290
- 537
- 4
- 15
- 28
0
votes
1 answer
saving a song with sound effect selected by the user in android
In the default android music player, we can add effects to the song being played like wide concert hall, music clarity etc. and can play the song with respective effects. Is there any way we can save the song with the given effects selected by the…

mohit
- 147
- 2
- 14
0
votes
1 answer
Music Player library ListView populating issue
I have a music player app that should open and show a list of tracks on your phone/sdcard but when I launch the application it shows me nothing..
I followed a tutorial so im not completely clear on what everything is supposed to do. Especially with…

Timmo
- 2,266
- 4
- 34
- 54
0
votes
1 answer
How to control Music Player using Voice
I'm developing an application, it can control music player using Voice. For example, when i say "play" music player play song, or say "next" music player will play next song, etc..I have Googleed, but didn't find any idea or source…

Tuan Vu
- 6,397
- 2
- 14
- 22
0
votes
1 answer
Android music player fc and error opening trace file
Ive recently been building a music app and ive been using some source code and customizing it to my own spec. I finish editing and debug and it suspends at launch.
Debug:
Thread [<1> main] (Suspended (exception RuntimeException)) …

Timmo
- 2,266
- 4
- 34
- 54
0
votes
1 answer
Android media player stops when open gallery
I developed a simple music player using MediaPlayer class. I played a song using it, minimize my music player, then I open native gallery, and my application get weird.
It becomes like stuck for a few seconds, and then it started to play new song.
I…

Chrisma Andhika
- 321
- 2
- 9
- 19
0
votes
0 answers
is it possible to play music from previously fetched data in android?
I was successful in playing streaming audio. The main problem is that if I move to the seek bar to a previous position the loading starts again. Is it not possible to store data in something like buffer and play audio from there so when we move the…

mayur bhagat
- 209
- 3
- 12
0
votes
1 answer
How do I make a music player activity keep running?
I have a music player Activity in my app.
The problem is that, if the user switch to other Activity inside my app, the music keeps playing, but if later he returns to the music player Activity, everything resets(song's title, duration...) except the…

Raz
- 160
- 1
- 4
- 14
0
votes
1 answer
play an audio clip that is stored in Phone Memory during the phone call
How to play an Audio clip that is stored in Phone Memory during the Phone call, and the same Audio clip should hear to Call receiver...
I am using simple code:
public void onCallStateChanged(int state, String incomingNumber) {
String…

Vikas Gupta
- 3
- 1
- 6
0
votes
1 answer
Creating a playlist out of songs from selected artists
I am working on some code that receives a list of artists and needs to search the SD card in order to create a playlist out of specified artists' songs. Can you guys give me some tips/examples on how to acomplish this? Thanks

murtaugh
- 77
- 8
0
votes
1 answer
Detect audio path change in android
I am working on a Android media player application (Android ver 2.3 - 4.1 to be supported). I want to detect audio path transitions, like speaker to wired-headset or wired-headset to BT etc. I need to take some action in my app on these transitions.…

mpb
- 23
- 1
- 5