4

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

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

I also receive a connect cam dialog box when my webcam is connected, when I start my AVD.

Oak Bytes
  • 4,649
  • 4
  • 36
  • 53
subrussn90
  • 1,142
  • 1
  • 14
  • 27
  • Check out this post: [http://stackoverflow.com/questions/1298202/how-to-use-my-local-computer-camera-in-android-emulator][1] [1]: http://stackoverflow.com/questions/1298202/how-to-use-my-local-computer-camera-in-android-emulator – Foggzie Jan 20 '12 at 18:30

2 Answers2

5

Using Eclipse.

  • AVD Manager
  • Edit the AVD.
  • Hardware > New:
  • Configures camera facing backwards = "webcam0" (use dropdown).

Run project using that AVD.

danfolkes
  • 404
  • 4
  • 12
0

Its some tricky way either its work or not I don't know...

But you can try it, Look at How to use web camera in android emulator to capture a live image?

Live camera preview in the Android emulator

Live Camera Previews in Android

Community
  • 1
  • 1
user370305
  • 108,599
  • 23
  • 164
  • 151
  • ya i tried but nothing is happening when i click an image with the emulator;rather the default image is shown... – subrussn90 Jan 20 '12 at 18:36
  • Have you tried the last one link? I heard most of succeed on that way.. Try that and let me know what happen.. – user370305 Jan 20 '12 at 18:39