[android-porting] Re: Native Access to System Settings

2009-05-06 Thread Steve Fischer
Ok, thanks for the information. Steve. On May 1, 4:35 pm, Dianne Hackborn wrote: > No, sorry.  You'll need to have some code running in a process that has > access and write java glue and/or IPC to it. > > On Fri, May 1, 2009 at 1:44 PM, steve2641 wrote: > > > We have a potential need to add a

[android-porting] Re: V4L2 Camera interface

2009-05-11 Thread Steve Fischer
The reason that the preview is only grayscale is that OpenGLES (which is used by Surface Flinger for scene composition) does not support YUV input. Instead, Surface Flinger is only passing in the Y component in GLES as a lumiance texture, which gives you the grayscale preview. In order to get a

[android-porting] Re: V4L2 Camera interface

2009-05-13 Thread Steve Fischer
If you are producing RGB565 frames in your CameraHardwareInterface implementation, then you will likely need to make a format change in the "framework/base/camera/libcameraservice/CameraService.cpp" file. Specifically, in the "startPreview" function, the preview frame format is hardcoded to "YCbCr

[android-porting] Re: CAMERA_STUB feature in android

2009-05-14 Thread Steve Fischer
The reason you are getting the failure is that there is no libcamera.so to compile against. The libcamera.so library is intended to be a platform specific library that implements the "frameworks/base/ include/ui/CameraHardwareInterface.h" interface. You either need to find an existing implementa