Whatever SurfaceHolder you gave the camera needs to have its type set to SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS. This may not be your problem, but it will cause a blank screen
On May 26, 4:18 pm, [email protected] wrote: > Hi all, > > I'm using the camera for which I've used the CameraPreview example. > All is working just fine -- > I'm getting pictures, etc, but when I spin up the SurfaceView and > startPreview on it (directly > from the example code) the screen is just blank. > > Question: shouldn't I be seeing a preview of the view field when I'm > in this mode just like > the system camera app? If so, why would the surfaceview be black/blank? > > Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

