I have a app which use the camera to get a image and pass it to the server.
But the emulator can't enable the camera.
So how can I make the emulator to use the webcam of my laptop ?
The emulator doesn't support the camera so there isn't much you can do. Conceivably, you could implement a test function that returns a dummy image that you can pass to the server to exercise the other parts of your code.
Retrieving data ...