"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

unable to access device camera

We are trying to make an Augmented Reality app for an Android device. Unity lets me put the app on the phone, but there is no image on my phone (just a blank screen with "trial version" at the bottom right. For some reason the app is not even turning on the device's camera. We are using Unity 3.4.0f5 and we are trying to put it on an EVO 4G at the moment. Any help would be great. Thanks in advance

Have you tried running any of the sample applications (e.g. ImageTargets) and do you get the same result? If so, can you share the runtime log with us? You can access this using the DDMS tool that comes with Android, or run "adb logcat" on the command line. Thanks, - Kim

We haven't been able to reproduce this issue so far. Can you try deleting the application from your phone and reinstalling it? Also, let us know the exact model number of your device. You can find this in Settings > About phone. - Kim

Hi, After logcat analysis, I found that the core of the problem is with initialization of Camera (cannot download device start-up settings). I tested this app on two different devices and both are giving the same problem.

The SDK downloads the device settings automatically, but your device needs to be connected to the internet for it to work. After it has downloaded the settings you can run the application without a connection. - Kim

Hi, I ran this application over dozen times on two different devices. Both the devices have internet connectivity (both Edge and Wifi). Still the problem is persisting. Kindly help us to resolve this issue at the earliest possible. With thanks and regards Prasad Munaga

Just to check, have you upgraded to the 1.0.6 release of the SDK? If you have upgraded, double check your internet connection with the mobile browser before running the app. Try deleting and reinstalling the app. If it's still failing, can you copy the full runtime log (from start to stop of a fr

Hi, Please find the attached zip (text) file herewith the logcat generated during the apk installation to application closing event. Kindly help me to fix the issue at the earliest possible. With thanks and regards Prasad Munaga

Hi, Thanks for your kind help, time and support. I just experimented as mentioned in Peter’s suggestions too, but there is no difference in the result. Is it possible to isolate network issue to initialize camera?

Unfortunately there's not much we can do without a new release. This is an issue we're looking into for our next update. It's possible that your network request is timing out before it can complete, try connecting via the fastest approach available (e.g. wifi > 3G > 2G). - Kim

Have this issue been resolved? I'm having the same problem. I run the app and I just get a black screen. Is this problem only in found in some models?

Are you using the new 1.5 version of the SDK? I recommend upgrading if not. If you are seeing the problem with 1.5, please let us know what device (model number) and Android OS version you are using. Also please provide the runtime log, you can access this via the DDMS view in Eclipse. - Kim

I'm using the most recent version of the SDK. The phone is a Nexus S with Android 4.0. I'm using Unity so I'm not sure how to get the runtime log.

jfchianetta

Sun, 03/04/2012 - 23:06

Hello Kim, I've upgraded my app with the latest version of the sdk and for most people there is no problem but several of my users have reported black screens when entering the augmented reality mode. They only see a black screen instead of the camera but my overlay is correctly rendered.

Thanks for the report. Custom ROMs and rooted devices are not generally supported by QCAR. The two ICS devices probably won't work for this reason. We'll look into the Galaxy SL and the Galaxy Tab. I might recommend that the users reinstall the application.

Hi, I've the same problem. I was trying to run the ImageTarget sample but the screen looks black. I tried changen focus mode but It didn't work. I've the Galaxy SCL (i9003). My log it's attached. Thanks.

Try uninstalling the app, putting the device in Airplane mode, then reinstalling and running. Does that make it work? This will help us narrow down the problem, thanks. - Kim