I am trying to record a video from Android. I am currently developing it in Eclipse and would like to know if I can test the camera input by accessing my Laptop's web camera instead of device camera. I tried to run the camerapreview of APIDEmos sample applications and other few sample application and it just shows a blank screen.
From the reading that I have done, the emulators do not support the camera (nor do they support some of the other hardware devices that are on physical phones, such as accelerometer, thermometer, etc.). So to test apps that need such hardware, you will need a physical device.
I have just found the following link descrribing how to get a live camera preview in emulator. It explains a indirect way of getting camera input through JMS from a Java program and then accessing it via socket connection from Android program.