Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android webcam enable in emulator

Hai I am new to the Android. I am using Android4 sdk. I can't enable webcam in Android emulator. Can anyone tell how enable it. Thanks.

like image 276
Karthi Avatar asked Aug 08 '12 02:08

Karthi


People also ask

Can we open camera on emulator?

No, because it's an emulator and it do not have any physical camera. It cant use your webcam or any external camera attached to PC. It can run your application but you have to attach to real device for proper hardware testing like camera, vibration etc.

Can you use webcam with NOX?

Mobile phone applications, like NOX APP Player can be controlled with your computer's camera and microphone. The function is not requiring any special settings.


Video Answer


1 Answers

There is a way to get this working use the Android Virtual Device Manager. You need to edit your AVD so that in the hardware section either "Configures camera facing front" or "Configures camera facing back" are available. One, but not both, of the values for these properties should be set to "webcam0" (or whatever is available). Then start your virtual device and use your webcam as an emulated camera.

If you have both properties set to "webcam0" then you'll get a warning when you start up the virtual device and the front/back control won't be available in the camera app.

like image 74
ThomasW Avatar answered Sep 18 '22 05:09

ThomasW