GLSurfaceView with both context menu and a touch listener
<p>I want my GLSurfaceView to provide a context menu on a "long press". I also want to handle events like MotionEvent.ACTION_DOWN and MotionEvent.ACTION_MOVE on the GLSurfaceView. So my Activity code does the following:</p>

<p>GLSurfaceView mySurface;<br>
View.OnTouchListener myTouchListener;  </p>

<p>// Register for context menu<br>
registerForContextMenu(_surface);  </p>

<p>// Process MotionEvents<br>
mySurface.setOnTouchListener(myTouchListener);   </p>

<p>But myTouchListener is apparently never called if I've registered mySurface for a context menu - does anyone know why?</p>

<p>Thanks,
Tom</p>
