Hi I have ported the similar V4L2 stuff to android2.2 on beagle board , it builds for me but when I click on Camera application it says please insert the SD card . Are there any vold issues in android2.2 ? I guess the media scanner or vold some how unable to detect/mount the SD card such that the camera application was not aware of SD card.
please find me some pointers on this. Thanks & Regards, Venkat. On Thu, Sep 2, 2010 at 12:17 PM, Rahul Soparkar <soparkar.ra...@gmail.com>wrote: > Hi > > First you need to verify does your kernel support V4L2 through your > kernel configuration, > Then you have to write an HAL implementation according to the Camera > interface specified by android2.2, your HAL implementation should take > care about the V4L2 stuff, and would act as an communication bridge > between your V4L2 based camera driver in linux and the android > framework. > > Below given link will of some help, they even have a patch for the HAL > implementation for V4L2 based camera but i think its for a older > version of android u need to modify accoring to android 2.2 and your > camera sensor : > > "http://groups.google.com/group/android-porting/browse_thread/thread/ > f6b9c22ee45a68c4<http://groups.google.com/group/android-porting/browse_thread/thread/%0Af6b9c22ee45a68c4> > " > > > Cheers, > Rahul Soparkar > > On Aug 30, 1:11 pm, sandeep kaushik <sandeep...@gmail.com> wrote: > > Hi, > > > > I have a query about using v4l2 based driver for camera on android 2.2 > > platform. > > Is there any application available for testing camera? Also, what > > patch that needs to be added on android for supporting v4l2 feature? > > > > Regards > > Sandeep > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting