Using Camera in the Android emulator

前端 未结 8 843
無奈伤痛
無奈伤痛 2020-11-27 18:13

I wish to simulate camera in the android emulator using the webcam. Basically I need to only take photos with the camera in the emulator (live preview is not needed i.e if i

8条回答
  •  一整个雨季
    2020-11-27 18:41

    Some elaboration, in the hope of clarifying what has already been said:

    As stated above, Webcams are supported natively in the current SDK, but only on recent android versions (4.0 and higher)

    Webcam detection is automatic where present. In 4.0.3, the camera defaults to the front-facing camera so a lot of applications (especially pre-2.3 applications, which can only fetch the default camera, i.e. the back-facing one) will still show you the old checkerbox-with-moving-square stand-in instead.

    I think some more info is available in the following post: Camera on Android Eclipse emulator:

    Or at least, that's the most information I've been able to find--aside from the brief, uninformative statements in the release notes for the SDK tools.

提交回复
热议问题