You -don't- want to avoid the chooser, that is what allows other
applications to supply their own functionality.  If you want to allow the
user to choose either a video or music, you may want to write your own
choose by doing your own intent query for both of those data types and
merging the result (you can use LauncherActivity to help with presenting the
list or do it yourself).

On Sun, Aug 2, 2009 at 8:18 AM, Christine <[email protected]>wrote:

>
> I was wondering, when you do an intent with ACTION_GET_CONTENT and
> type "video/*" you get just the media browser showing you stored
> video's from which you can pick one, while with type "audio/*", you
> first get a chooser which lets you choose between recording audio or
> selecting from the media library. For recording video you can use
> MediaStore.ACTION_VIDEO_CAPTURE but I haven't found a
> MediaStore.ACTION_AUDIO_CAPTURE.
>
> In my app I'd like to have a consistent UI for video and audio,
> preferably without the separate chooser step. I can do audio capture,
> but how do I avoid the audio chooser without creating my own audio
> gallery UI?
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to