On the internet for a long time, the information on the internet is basically said to use a foreigner to write the library, but in fact the case of this library is not directly used (because of the permissions problem), not suitable for learning.
Later, it was discovered that the library was re-encapsulated, and there are source code and Chinese tutorials:
http://blog.csdn.net/andrexpert/article/details/78324181
Https://github.com/jiangdongguo/AndroidUSBCamera
Another way of thinking is to use OPENCV, with QT Development cross-platform program should be very good. But the test cell phone was borrowed, so there was no way to test it.
It is recommended to configure QT and OpenCV tutorials here:
http://blog.csdn.net/abcvincent/article/details/68486522
However, the author is here to say a little bit, that is, before running the OpenCV DLL file must be copied to the compilation directory, or Qtcreator will show a direct crash. VS is also the same, except that the VS will show missing DLL files.
If you still error, it may be that you use the wrong build platform (OpenCV3 only support 64-bit, while using the VC14 is vs2015 VC version)
Calling the USB camera in Android