Question

in my application, I want to be able to select an audio file which is on the device to be used. The standard audio player in Android 2.3 "Music" offers everything I need to fullfill the requirements. Is it possible to send an Intent to open the Music app, select a song and give back the audio file id as result to my application?

thanks in advance!

greets, Andi

Était-ce utile?

La solution

Have you tried using the INTENT_ACTION_MEDIA_SEARCH? It seems to do what you are looking for..

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top