Say, the webcam is displayed on a computer, and the android device ... You will have to code your own simple server which captures the raw ...
stackoverflow.com