"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

Droid Razr Differences

We've had some inconsistent behavior using Vuforia 1.5.9 with a Droid Razr we've been testing. It is running Android 2.3.6, and we discovered that Android UI elements we had created and placed over our GLSurfaceView were not showing on it like on the other devices we'd tested. Investigating using the Hierarchy Viewer, it appears like the Droid Razr uses a CameraSurface view, in addition to the GLSurfaceView, and that it is being displayed over top of the GLSurfaceView, obstructing the UI elements. Digging further, it seems that in the sample BackgroundTextureAccess, the CameraSurface is added as a child view of the FrameLayout directly descending from the DecorView (see attached: backgroundTextureAccess-razr.png), while in our app, the CameraSurface is added to the DecorView itself (see attached: ourApp-razr.png), seemingly overshadowing any other views. I've included comparison views using an HTC Incredible, that show the structure without the CameraSurface, for reference. I'm just assuming the Razr requires a special CameraSurface view for some reason, and that is why it is showing up on that device, but not the Incredible. But the main thing that is perplexing, is why the Razr's CameraSurface view is overshadowing everything else in our app. Thoughts?

This may be an issue that is mentioned in the release notes: [QUOTE] On certain devices, the video preview rendering and the rendering layer order may be mismatched after another application overlays the QCAR rendering window.

dbburgess

Wed, 04/18/2012 - 17:55

Good idea, I gave it a shot, but it doesn't appear to make a difference. The CameraSurface is still overshadowing everything.

dbburgess

Thu, 05/03/2012 - 17:26

Any further ideas on this, ksiva? I tried moving the GLView up to the same parent as the CameraSurface, but then the GLView is below the CameraSurface (preventing any rendered models from showing), and any other Views I add over top lose their layout and become full-screen. Thanks, Daniel

If you can send us a project that reproduces the issue we'll take a look. Also higher resolution images of the view hierarchies above would be helpful. Please send to [email]qcar-support@qualcomm.com[/email].