From: Tim R. <ti...@pr...> - 2013-01-14 19:10:35
|
Sairam Rajamani wrote: > > Thanks for the response. > The webcam supports UVC. > So I am using libUVC over libUSB. > I am trying to develop an app and is planning to use the libUSB+libUSV > to access the camera. > This is the best combination I found. You can't just set the alternate setting and expect to transfer frames. You must go through the UVC probe/commit sequence first, to configure the device, to negotiate the data type and establish the parameters. Does libuvc do that? > Do you know a better open source library to develop a driver for a UVC > camera for android? > If yes, Can you suggest an alternative. Thanks in advance. If you are willing to root your device, you can install the standard Linux UVC driver into the kernel. That supports virtually every UVC device ever made, which is really the whole point of designing for UVC in the first place. Does your camera work in a full Linux system? If it does, that should give you a path toward making it work in Android. -- Tim Roberts, ti...@pr... Providenza & Boekelheide, Inc. |