James
James

Reputation: 819

For Android Virtual Devices, How to Use Computer Camera?

I'm new to android apps development. I'm trying to use the camera of my computer to catch a picture in Android Emulator. I've checked out Tom's method, but it is written in the former syntax. It has a lot of errors while I'm trying to compile them. Is there anyone have a better way?

Upvotes: 1

Views: 2765

Answers (1)

Jong
Jong

Reputation: 9115

When I run the emulator with my laptop, a message pops up asking me if I want to attach the computer web cam to the emulator. I select "Yes" and it works fine.

Make sure you didn't select any "no-camera" settings in the AVD creation, and that your camera has the right drivers and whatever it needs to operate.

Upvotes: 1

Related Questions