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?
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
. You'll want to use a file sharing service for any code, here's one option: http://me2u.qualcomm.com
- Kim