Webcam to test the camera in Android AVD?

Can I use my webcam connected to the AVD to test the camera and its functionality?

In some articles, I read that Android 3.0+ supports this feature. Is it possible?

I also get a cam connection dialog when my webcam is connected, when I start my AVD.

+4
source share
2 answers

Using Eclipse.

  • AVD Manager
  • Edit the AVD.
  • Hardware> New:
  • Configures the back of the camera = "webcam0" (use the drop-down list).

Run the project using this AVD.

+5
source

Its some kind of complicated way or its work, or not, I don’t know ...

But you can try. See How to use a webcam in an Android emulator to capture live images?

Preview camera in Android emulator

Watch live video on Android

0
source

Source: https://habr.com/ru/post/1392100/


All Articles