


This means that the camera is being registered by the emulator, but it hasn't bothered to update the number of connected cameras. However, mNumberOfCameras is presumably still 0.

The webcam has been correctly assigned an ID of 0 because there's only 1 camera. LOGE("CameraService::connect X (pid %d) rejected (invalid cameraId %d).", Here's the relevant portion of the Android source code: sp CameraService::connect( When I start the emulator's camera application, I get the error CameraService::connect X (pid 702) rejected (invalid cameraId 0). I'm connecting a webcam to my emulator by setting the front camera to "webcam0" in the AVD Manager.
