Basically I would like to plug in my Android phone to a Linux computer and have it appear as a USB video device such that it can be seen in /dev/videoX
and can be opened to capture video / images using the phone's camera.
Are there any specific hardware / Android limitations that would make this infeasible?
What are the general steps involved in making this happen (if at all possible)?
Can it be done as an Android app or does it require completely modifying the Android / kernel?