I'm developing a qr code reader application. How can I use my webcam as a camera to scan the qr code in the emulator ?
my SDK version is 4.3. I checked it out in developer.android site and they said that you have to select webcam0 as a back camera. I tried but it didn't work, and shows "unfortunately your app has been stopped".
Follow the below steps in Eclipse.
- Goto -> AVD Manager
- Create/Edit the AVD.
- Hardware > New:
- Configures camera facing back
- Click on the property value and choose = "webcam0".
- Once done all the above the webcam should be connected. If it doesnt
then you need to check your WebCam drivers.
check this answer for the image & a further link:
Here
Have you set front/Back cameras when you created the emulator like this in your AVD manager