minhhieu1503 / andar

Automatically exported from code.google.com/p/andar
0 stars 0 forks source link

Does it work with Virtual Devices? #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

The app does not work inside the emulator.

1.Import AndARSampleProject inside eclipse (ADT v21.1.0-569685)
2.Fix minor issues (lib->libs, project.properties, etc.)
3. Run the app using the emulator (Nexus Galaxy, 4.2-api 17,armeabi-v7a)

The app fail with this exception (see attachment for longer log)

02-22 15:14:40.298: E/CameraHolder(1303): java.lang.RuntimeException: Fail to 
connect to camera service
02-22 15:14:40.298: E/CameraHolder(1303):   at 
android.hardware.Camera.native_setup(Native Method)
02-22 15:14:40.298: E/CameraHolder(1303):   at 
android.hardware.Camera.<init>(Camera.java:340)

Same error with "emulated" webcam and actual webcam (webcam0). The Camera works 
fine using the code found here:

http://marakana.com/forums/android/examples/39.html

Original issue reported on code.google.com by l.bolz...@gmail.com on 22 Feb 2013 at 3:34

Attachments: