5,595,067 Members 40,765 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Bluestack and Camera Source

Tip us?
 
Schweetz
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Apr 2013
Camera [Q] Bluestack and Camera Source

Hi all.

I am aware that I am a new member but I did search in regards to activating the camera on Bluestacks but failing to do so.

What I am trying to do:
Use my camera on my laptop on apps, such as Instagram, Whatsapp.

What I have done:
I tried to use the camera on Bluestacks apps, but all I got is a black screen.
Read the forums and changed the camera registry to 1, still the same problem even after restarting the app and computer.

Is there a way to maybe change the source of the camera to direct it to my default camera?
Or if there is something wrong with the default camera, I have an external USB camera as well. Could I re-route and get Bluestack to select that camera instead? There is a front and back camera, maybe that can be done?

Thanks for the help!
 
Schweetz
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Apr 2013
Hi all,

just to add what I've done...

I've check the logs and I found this

: SetCurrentAppData mCurrentAppPackage = com.android.camera
2013-04-17 02:45:30.963 40:0000001C (HD-Frontend). INFO: SetCurrentAppData mCurrentAppActivity = com.android.camera.Camera
2013-04-17 02:45:30.965 40:0000001C (HD-Frontend). INFO: Request to load InputMapper configuration for com.android.camera
2013-04-17 02:45:30.968 40:00000005 (HD-Frontend). INFO: InputMapper: Loading config at C:\ProgramData\BlueStacks\UserData\InputMapper\com .android.camera.cfg
2013-04-17 02:45:30.970 40:00000005 (HD-Frontend). INFO: InputMapper: InputMapper::Accelerometer::Reset()
2013-04-17 02:45:30.972 40:00000005 (HD-Frontend). INFO: InputMapper: Cannot open configuration file C:\ProgramData\BlueStacks\UserData\InputMapper\com .android.camera.cfg
2013-04-17 02:45:30.974 40:00000005 (HD-Frontend). INFO: InputMapper: Cannot load config, loading default config
2013-04-17 02:45:30.976 40:00000005 (HD-Frontend). INFO: InputMapper: Cannot open configuration file
2013-04-17 02:45:30.978 40:00000005 (HD-Frontend). INFO: InputMapper: Cannot load default config
2013-04-17 02:45:30.980 40:00000005 (HD-Frontend). INFO: OpenSensor: OpenSensorSetMode(Default)

Is the reason the camera doesnt work is because the file "com.android.camera.cfg" is missing?
Can anybody verify or send me the file in my attempt to fix this?

Thanks a bunch!
 
Schweetz
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Apr 2013
Anyone? :/

I could use some help obtaining that file if possible...
com.android.camera.cfg

I don't know how to get it...
Thanks
 
Substanz
Old
#4  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2014
Hi,

same problem, I try to use Bluestacks with a Webcam e.g. in Snapchat,
but I only get a black screen, can someone help me ?

Plzz
 
jamesandreson
Old
#5  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2014
Exclamation Webcam not working on BlueStack

When i check my logs then i found this please suggest if anyone can help me :

2014-02-22 09:08:03.824 4124:0000002E (HD-Frontend). INFO: Starting Camera 1. Frame width: 640, height: 480, framerate: 30
2014-02-22 09:08:03.832 4124:0000002E (HD-Frontend). INFO: Building graph
2014-02-22 09:08:03.832 4124:0000002E (HD-Frontend). INFO: Creating List of devices
2014-02-22 09:08:03.876 4124:0000003B (PGA). INFO: 00000EE0: New SOCKET connection: mediaserver (pid 1046, tid 7017)
2014-02-22 09:08:03.979 4124:0000002E (HD-Frontend). INFO: Camera device Lenovo EasyCamera
2014-02-22 09:08:04.059 4124:0000002E (HD-Frontend). ERROR: Failed to fetch Property: DevicePath
2014-02-22 09:08:04.064 4124:0000002E (HD-Frontend). ERROR: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at BlueStacks.hyperDroid.VideoCapture.IPropertyBag.Re ad(String pszPropName, Object& pVar, IErrorLog pErrorLog)
at BlueStacks.hyperDroid.VideoCapture.DeviceEnumerato r.getProperty(String sProperty)
2014-02-22 09:08:04.067 4124:0000002E (HD-Frontend). ERROR: Failed to enumerate Video input devices: System.NullReferenceException: Object reference not set to an instance of an object.
at BlueStacks.hyperDroid.VideoCapture.DeviceEnumerato r.ListDevices(Guid filterType)
2014-02-22 09:08:04.068 4124:0000002E (HD-Frontend). ERROR: No Video device found : System.NullReferenceException: Object reference not set to an instance of an object.
at BlueStacks.hyperDroid.VideoCapture.DeviceEnumerato r.ListDevices(Guid filterType)
at BlueStacks.hyperDroid.VideoCapture.CaptureGraph.Bu ildGraph()
2014-02-22 09:08:04.087 4124:0000003A (HD-Frontend). ERROR: Failed in Graph Run. Exception System.NullReferenceException: Object reference not set to an instance of an object.
at BlueStacks.hyperDroid.VideoCapture.CaptureGraph.Ru n()
at BlueStacks.hyperDroid.VideoCapture.Camera.Run()
2014-02-22 09:08:06.327 4124:00000001 (HD-Frontend). INFO: Received message WM_SYSCOMMAND
2014-02-22 09:08:07.808 4124:00000001 (HD-Frontend). INFO: Received message WM_SYSCOMMAND
2014-02-22 09:08:13.700 4124:0000002E (HD-Frontend). INFO: Stoping Camera.

Please advice something
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes