I'm writing an application that will allow the user to select multiple music tracks from the sd-card and play them. I'm trying to use the Intent system to select multiple media instances but I can only find a way to pick a single item.
This is the code I'm using:
Intent i = new Intent(Intent.ACTION_PICK, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(i, REQUEST_MEDIA);
Since there is an action "ACTION_SEND_MULTIPLE" I thought there would be a multiple version of the pick action as well but I can't find any. So, is it possible and if so, what is the action to use?
I unfortunately faced the same problem. There is NO way to select multiple items with Intent.ACTION_PICK. The way i took was to create my own custom GridView for the user to select multiple items. You could take a similar approach of showing all the mp3 files in a customized view.