Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I cannot use camera in genymotion emulator

I am using genymotion emulator http://www.genymotion.com/ but when I opened the camera , I got message "cannot connect to the camera " , what is the problem ?

like image 954
Mohammed Subhi Sheikh Quroush Avatar asked Nov 10 '13 12:11

Mohammed Subhi Sheikh Quroush


People also ask

How do I enable the front Camera on my emulator?

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).

Does Camera work on Android Emulator?

Update: ICS emulator supports camera. Taking pictures work (with an intent), but no live preview (the Camera.

Is Genymotion better than Android Emulator?

Genymotion also runs Robotium tests visibly faster, and with a smoother UI. However, be warned there are some noticable differences between Genymotion and the default Android emulators: You cannot use the special 10.0. 2.2 IP address with Genymotion to access localhost on the machine you are running the emulator from.


1 Answers

UPDATE Made it a community wiki in case someone else has something to add, I can't keep this updated right now :)

It could just be that you didn't activate the camera for the emulator. Opposed to the stock emulators that once you set up the webcam they just work, on genymotion emulators you need to turn the cameras on. The process is very simple.

On the emulator window, press ctrl+3 or +3 to bring the camera configuration panel that looks like the left, and turn it on like on the right: enter image description here

You can select a dummy camera which will show a genymotion logo moving around the screen or use the system camera if it's available and preview it. Note that on the above screenshot I'm using the phone front camera instead of the back camera.

like image 164
3 revs Avatar answered Sep 28 '22 23:09

3 revs