On Aug 12, 5:58 pm, "Justin (Google Employee)" <[email protected]>
wrote:
> Yes, this is inconsistent, but there is a way to do what you want with
> audio. Take a look 
> athttp://developer.android.com/reference/android/provider/MediaStore.Au...

Wow, cool, thanks. I hadn't found this one after searching the api. it
works like a charm :-)



>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 12, 7:32 am, Christine <[email protected]> wrote:
>
> > In my app, a user picks video content with
> >    Intent i = new Intent(Intent.ACTION_GET_CONTENT);
> >    i.setType("video/*");
> >    startActivityForResult(i, MEDIA_SELECTED);
>
> > and they start recording video with
> >    Intent i = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
> >    startActivityForResult(i, MEDIA_SELECTED);
>
> > Now, I want to do the same for audio, but I can't:
> >    Intent i = new Intent(Intent.ACTION_GET_CONTENT);
> >    i.setType("audio/*");
> >    startActivityForResult(i, MEDIA_SELECTED);
> > doesn't start audio selection, but it triggers a chooser with which a
> > user can select audio capture or selection. There's no
> > ACTION_AUDIO_CAPTURE intent.
>
> > Why is the behavior for video and audio different?
>
>
--~--~---------~--~----~------------~-------~--~----~
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