Due to security control, I don't think it is possible to directly access the camera via the /dev devices. U have to write an app and let Dalvik gives u the access to the camera via manifest.
http://developer.android.com/guide/topics/media/camera.html#custom-camera http://stackoverflow.com/questions/3783124/how-do-i-access-the-camera-on-android-phones On Thu, Jan 17, 2013 at 1:14 PM, abhishek jain <[email protected]>wrote: > Hello, > > I have been struggling with an issue related to v4l enabling in Android > Kernel. Please suggest me appropriate place to post my question i found > this email for contacting on linux-media website. I am trying to connect > external UVC camera with android device. > > What i have done so far , I enabled v4l configuration in kernel and i do > see in log UVC driver get loaded after enabling as well as > video_device_register return 0 and picked up video node 0. But what is the > problem is when i application trying to access /dev/video0 it always shows > device busy can not open. > > I have tried all permutation combination by assigning 0666 permission in > init.rc , init.<board>.rc or uevetd.<board>.rc . > > But no luck please guide me how can i do it ? I am trying with Logitech > C270 webcam and it does support v4l. > > Thank you > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- Regards, Peter Teoh -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
