Sorry, there is no such concept.
On Wed, Mar 30, 2011 at 11:18 PM, James W <[email protected]> wrote:
> 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
>
--
Dianne Hackborn
Android framework engineer
[email protected]
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.
--
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