I wish to allow the user to choose a specific folder on their SD card
which contains images. Later on I will use that particular folder as a
data source.

It is easy enough to select an single image from the folders, I use:

   Intent mAlbumSelectIntent;
   mAlbumSelectIntent = new Intent(Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
    mAlbumSelectIntent.setType("image/*");
    startActivityForResult(mAlbumSelectIntent, ACTIVITY_SELECT_ALBUM);

I can then of course work out the contained folder from the returned
selected file path.

However, the point of the operation is to select the folder, not a
particular file, so it would be a cleaner experience for the user to
just select the folder/album and have it return at that point. Is
there a way to just specify that I want the folders only to be the
pickable items, rather than a particular image within the folder?

I could go the long way round and adapt one of the existing folder
picker apps to filter on just folders containing images, but I would
rather have a consistent interface if possible and use the built in
Gallery app for selection.

Are their any Intents or Extras that are available to get this
behaviour?

Regards
James

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to