It's probably best to play your video in a separate Activity. The downside is that you will lose your OpenGL context when the AR Activity is paused, so once the video is over you'll have to reload your textures, VBOs, etc. This will ensure that you avoid these surface z-order issues, however.
So you used Video View Demo from the Android API examples?
I'm trying to do the same but the VideoView seems to be getting hidden behind the camera view. I understand there no way to change z-indexes of surfaceviews. How did you get around this?
It's probably best to play your video in a separate Activity. The downside is that you will lose your OpenGL context when the AR Activity is paused, so once the video is over you'll have to reload your textures, VBOs, etc. This will ensure that you avoid these surface z-order issues, however.
- Kim