Okay thanks for that, but what I'm trying to do is have a single
button in my app, and then let the user decide if they want to photo
or video once they are in the  camera app.  Just as if they selected
the camera app from the home screen.

How can I just call the camera app from within mine and have it behave
as if they clicked it from the home screen ?

thanks again


On May 24, 12:17 pm, Dianne Hackborn <[email protected]> wrote:
> This Intent is used to bring up a UI to have the user take a single picture
> and return it to you.  Use ACTION_VIDEO_CAPTURE to instead have them record
> a video.
>
> All of the intent actions you can use to interact with the camera are
> defined here:
>
> http://developer.android.com/reference/android/provider/MediaStore.html
> <http://developer.android.com/reference/android/provider/MediaStore.html>
>
>
>
>
>
>
>
>
>
> On Tue, May 24, 2011 at 3:38 AM, New Developer <[email protected]> wrote:
> > On my Zoom's home Screen it has the camera app, which has a button
> > for front and back camera  and then a slider/button for  video or photo
> > When it saves a photo is it  IMG_YYYYmmDDhhMMss.jpg
> > All of which is great / perfect
>
> > Using the following code
>
> > ContentValues values = new ContentValues();
> > values.put(MediaStore.Images.Media.TITLE, fName);
> > values.put(MediaStore.Images.Media.DESCRIPTION, "Image Capture by  ME");
> > imageUri = getContentResolver().insert(MediaStore.Images.Media.
> > EXTERNAL_CONTENT_URI, values);   intent   = new Intent(MediaStore.
> > ACTION_IMAGE_CAPTURE);   intent.putExtra(MediaStore.EXTRA_OUTPUT,
> > imageUri);   intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);
>
> > 1) I get no front / back button
> > 2) I get no slider  video / photo
> > 3) It uses what I pass a fName.
>
> > How do I just plainly call the Camera app that exists on the home screen
> > with all it's standard features and functions.  I want the front/back
> >  video/photo and the file naming is perfect. So how do I just all it from my
> > app?
>
> > thanks in advance
>
> > --
> > 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

Reply via email to