Have you looked at the source for the included Camera app? It may help you out.
http://git.source.android.com/?p=platform/packages/apps/Camera.git;a=blob;f= src/com/android/camera/Camera.java;h=ef99842136f5df362add5f07148ca6c8ff981a1 6;hb=HEAD -----Original Message----- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alvin Yates Sent: Tuesday, October 28, 2008 10:02 AM To: Android Developers Subject: [android-developers] Taking Camera Pictures in app Still trying to figure this out, but not getting anywhere on it. Does taking a picture using the camera only require creating the Camera.PictureCallback for onPictureTaken() and passing it into Camera.takePicture() as an input? Or do you have to stop the preview, lock the canvas, and convert/extract data from there to get it into a writable form? I'm fine with the first one, but completely confused as to how to do the latter. Also, is taking pictures in the emulator functional or not? I tried to run CameraApiTest and it crashes hard whenever I hit spacebar, even though I have an SD card instantiated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---