質問

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

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top