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