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 w开发者_JAVA技巧ay to do this ?
Thanks !!
This isn't possible full stop.
Use a real device if you want to test recording video with your app.
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.
精彩评论