Android: Video recording on virtual device. Is it possible? - android

I have simple question.
I am developing an application that can record video capture. The application is working successfully on a hardware device, but it is not on a virtual device.
the error: "can't connect camera"
I guess so, a video recording can not working on a virtual device. am i right?

I have had video working in Genymotion in the past, but I don't know if I ever got it working with the standard emulator.

Related

Simulating Camera Through Webcam in Xamarin Android Emulator

I'm trying to get an emulated virtual device to use my laptop's webcam to simulate the device's camera. Based on my research, it should simply be a matter of enabling camera support and setting the back camera to "webcam()" which I have done, but it is not working. When I run my app that initiates the back camera, I notice a line in the output window: "Could not find requested camera." Here is the configuration for my virtual device:
The app runs fine otherwise, I just can't get the camera to work. Note that it works on an actual device so the issue isn't with the app. My laptop's webcam works fine in other programs and I have ensured its drivers have been updated. Why can't it find the webcam?

No Genymotion device is able to produce audio

Just formatted my mac and installed android studio along with Genymotion, Virtual box and the shell required. Now that I am working on a video player I found that not a single device is able to produce audio only video works. Can anyone please help me with this issue? Earlier( before formatting) it was working fine also I have already tried changing Host audio driver and Audio Controller from the Virtual Box for each device.
That's probably a known bug on VirtualBox. I advise you to test with VBox 5.0.28, the audio should be working well.

How to silence the "video capture device" popup?

I am developing an android program using eclipse and the emulator and each and every time, when I start the emulator I get a popup asking me for the video capture device. The app that I am developing has absolutely nothing to do with video, so I definitely don't give a $#!# whether the emulator has acess or uses my laptop's built-in camera or not. How can I silence this annoying startup question?
Michael

Camera in android emulator

I use android SDK 4.0.3 and eclipse Indigo and I'm trying to develop an application which uses a camera. When I take a photo, this message appears:
Unfortunately, camera has stopped.
In the eclipse console:
emulator: ERROR: _camera_client_query_frame: Unable to obtain first video frame from the camera '/dev/video0' in 2009 milliseconds: Resource temporarily unavailable.
My OS is Debian Squeeze. What can I do? Thanks.
In emulator camera does not work properly .You must try it on Real Device.
As Shahzad imam said, you can't use camera on emulator.
But if can't buy real device and you're really need camera you can try to translate video to network from your PC and then handle it in Android, as it a real camera. Or, if you just need photo, you can use some picture instead.

Video Capturing in Emulator?

I am trying to capture the video on emulator with 2.1 sdk on windows. I am using Eclipse. Is it possible to capture the video in the emulator?
No, it's impossible to use camera on emulator.
But you can set up camera on your computer to broadcast into network, and then connect in your Android app and get video.

Categories

Resources