Hello sir, I meet an other quetion about operating view to displaying above the GLSurfaceView.
I do just as CliffWoo, he using a videoview instead of the teapot in the ImageTargets.
I initialize the videoView as belowe :
// Now add the GL surface view. It is important // that the OpenGL ES surface view gets added // BEFORE the camera is started and video // background is configured. addContentView(mGlView, new LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); overlayView = View.inflate(this, R.layout.myoverlay, null); addContentView(overlayView, new LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); mVideoView = (VideoView) overlayView.findViewById(R.id.mVideoView); overlayView.setVisibility(View.INVISIBLE);
When ImageTargetsRenderer detects the aim image, the Handel send message to the Activity to show the VideoView.
But In my Nexus one, I just Can hear the sound in the video, but can't see the picture and the VideoView. So I try to press the power button in the head of Nexus one to lock the screen for serverl seceonds, When I unlock the screen, I can see the picture in the video and the videoview.
Now I need your help to sovle the problem, How can I get the Picture on the screen at once, when the renderer has detected the aim. Many thanks ~!