Re: [android-porting] Battery status

2012-05-03 Thread Florian Boor
Hi, Am 11.04.2012 12:02, schrieb venkat k raju: how to integrate the Battery to android frame work? please anybody suggest me its quite easy: Just write a proper Linux driver for the battery. Android makes use of the Linux kernel power supplies interface and the power supply change

[android-porting] HDMI display rotation on blaze board

2012-05-03 Thread Mamatha K
HI all, I am working on Android 4.0 for blaze board. Initially, the display on LCD was rotated 180 degree(upside down), so in build.prop ro.sf.hwrotation=180 was set to get normal display. Now LCD display is working fine(proper orientation of touchscreen) but when

[android-porting] Re: UVC camera YUYV pixel format support in android applications

2012-05-03 Thread Alexy
Hi, have you tried color converting and giving 420SP (NV21) buffers? Its possible that Skype expects the camera to be giving frames in NV21 format. -Alexy On May 2, 7:55 am, Nikko Torcita nikkotorc...@gmail.com wrote: Hi all, I've been trying to support generic UVC cameras on android and

Re: [android-porting] UVC camera YUYV pixel format support in android applications

2012-05-03 Thread Vishal Bhoj
Hi Nikko, The color conversion needs to be done before passing the frames through the callback(CAMERA_MSG_PREVIEW_FRAME) as the yuv420sp is the default color format supported by android application while accessing preview frames from application layer. Have a look at lines from 209-215 in

[android-porting] Home button weirdness

2012-05-03 Thread Maxime Ripard
Hi list, I'm using linaro's 11.10 android release (based on gingerbread) on the Embest DevKit8000 (which is pretty similar to the beagleboard). I'm trying for now to map two GPIO buttons to back and home buttons. So far, I've modified the devkit8000 board files in the kernel to have these two

Re: [android-porting] UVC camera YUYV pixel format support in android applications

2012-05-03 Thread Nikko Torcita
Hi guys, Thanks for all the inputs. I converted my YUYV frames to YUV420SP right before passing it to the preview callback and it worked! I am now able to use the usb camera for skype video calls. I just find it useless for google to put other pixel formats in the CameraService.cpp if they're