Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

need an emulator with a "fake camera" that seems real to the app

1,778 views
Skip to first unread message

Anonymous

unread,
Aug 17, 2015, 3:27:21 AM8/17/15
to
The official SDK emulator has two camera options:

1) "emulation" (this is hard-coded to a moving checker board)
2) "webcam0" (this passes through a host OS connected webcam)

I have a particular image that I need to give an app by way of the
camera interface. The "Fake Camera" app does just that, enabling an
image to be supplied, which is then passed through a camera device.

The problem is that some apps are hard-coded to only use the built-in
camera without prompting the user with a list of all capture devices.
So the fake camera app is bypassed, limiting the user to "emulation"
or "webcam0". It's a shame that the emulated camera cannot have the
checkerboard image substituted.

What about unofficial emulators? E.g.

* Genymotion
* AndroVM
* Andy Android Emulator
* Jar of beans

Do any of those accept an image for camera emulation?

Nomen Nescio

unread,
Aug 24, 2015, 9:12:09 AM8/24/15
to
> The official SDK emulator has two camera options:
>
> 1) "emulation" (this is hard-coded to a moving checker board)
> 2) "webcam0" (this passes through a host OS connected webcam)
>...
> * Genymotion
> * AndroVM
> * Andy Android Emulator
> * Jar of beans
>
> Do any of those accept an image for camera emulation?

For the record, Genymotion has the same limitation. It cannot
simulate a user-supplied image for the camera.

in...@mvesta.com

unread,
Mar 17, 2018, 10:44:25 PM3/17/18
to
You know if its possible to fake the android emulators webcam0 source by using something like v4l2loopback ?

emmanuel....@gmail.com

unread,
May 31, 2019, 6:06:57 PM5/31/19
to
finally you found a solution to the problem? I have to solve the same and I can not find how to do it
0 new messages