The answer is probably very device dependent, and in most cases you cannot use the v4l camera directly without using / not setting up rom on the device. That's why:
- A device manufacturer can provide closed-source camera drivers that are not compatible with v4l (the definition of compatibility with Android says nothing about camera drivers compatible with video 4linux) or Files
- / dev / video * may not be accessible from the application / shell due to file permissions (I see the / dev / video 20 device on my phone, but the file is only available for root)
However, there is a good Java API for accessing the cameras: http://developer.android.com/reference/android/hardware/Camera.html
cezio source share