Hi all, I want to develop an augmented reality application, but I'm having some trouble in the first steps. The first I want to do is to get a frame with the onPreviewFrame callback, process it, and then draw it in the screen. Here I want to hide the camera preview, I mean, I don't want to draw it, but I can't manage to do it. I've been reading some threads where it's said that simply don't doing "SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS" you'll fix it. In the emulator does work, but in the real device doesn't and the program crash.
The second question is: Is there a way to overlay a GLSurfaceView on top of the CameraPreview before the API level 5? I've tried some methods like GLSurfaceView.bringToFront(), but none of them works. I would like to do it for android 1.5. Anyway I don't have (yet) a device with 2.0 or later, and I also don't know if the "setZOrderMediaOverlay" method really works in real devices. Many thanks for your time. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.