On Oct 29, 9:22 pm, Alvin Yates <[EMAIL PROTECTED]> wrote:

> I suppose if there was a way to fake a key press inside the app for
> the shutter I could test it and see if it works (Like, 4 translating
> into the camera button).

I don't know how you can fake a key press, I use the space bar as the
camera button.


>
> On Oct 28, 3:50 pm, Christine <[EMAIL PROTECTED]> wrote:
>
> > You can take photo's in the emulator, but all you get is a gazillion
> > pictures of Bill Lumbergh.
>
> > You have this line in your manifest file?
> >   <uses-permission android:name="android.permission.CAMERA"/>
>
> > On Oct 28, 10:44 pm, Hong <[EMAIL PROTECTED]> wrote:
>
> > > i used the first approach, and once the picture is taken, i launch a
> > > new activity.
> > > the current activity (that your camera preview is running) will go
> > > into onPause() onDestroy() phase depends on what you do, u can stop
> > > the camera preview there.
>
> > > On Tue, Oct 28, 2008 at 1:02 PM, Alvin Yates <[EMAIL PROTECTED]> wrote:
>
> > > > 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 [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