Accessing USB Webcam

  • Replies:0
  • OpenNot stickiedUnanswered

Jan 27, 2013 7:24:06 PM

Hi all,

I'm trying to access USB webcam attached on my beaglebone. I've recompiled all the source codes of Android 2.3.4 by integrating V4L or V4L2 driver to the kernel. When I attach webcam to the USB port I can see the debug output as "UVC Sirius bla bla bla device has been found" and system creates a device under /dev/ as video0. I've configured adb on Windows and now I'm able to debug and run my developed applications on Eclipse. So here is my absoulately complex question :) ; How can I access /dev/video0 device, take a snapshot from USB cam and Show it on imageBox (or whatever in Android)?