1

I have been developing an application which needs to access video camera but with Android emulator i couldn't find a way to access my web cam directly as the Android device's camera. so any way to do this ?

Thanks !!

Keshan
  • 14,251
  • 10
  • 48
  • 72
  • 1
    I'm pretty sure the answer here is no, but I could be wrong. – Brian Driscoll Feb 11 '11 at 18:13
  • 2
    possible duplicate of [Using Camera in the Android emulator](http://stackoverflow.com/questions/2884620/using-camera-in-the-android-emulator) see also [How to use web camera in android emulator to capture a live image?](http://stackoverflow.com/questions/1276450/how-to-use-web-camera-in-android-emulator-to-capture-a-live-image) – Matt Ball Feb 11 '11 at 18:13
  • 1
    @Brian: You are not wrong. I'd use a real device for camera-related apps anyway, the emulator would be too slow. – EboMike Feb 11 '11 at 18:14

2 Answers2

2

This isn't possible full stop.

Use a real device if you want to test recording video with your app.

Blundell
  • 75,855
  • 30
  • 208
  • 233
2

I had the same problem but I had to find a solution. I saw Tom Gibara's solution and the Neil Davies' updated version but both worked with JMF which is quite obsolete ... and doesn't work with my Integrated Webcam. So I had to change some code and use the JMyron library for the Webcam Broadcaster.

But be aware that, like everybody said, there is no direct access. There are just some tricks to bypass the problem.

Solostaran14
  • 1,656
  • 20
  • 22