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