I've got a little problem here. I have an OpenGL thread that renders some of my stuff. On one point i need to display another view that has some buttons in it. The question is - how this can be done? because calling View.setVisible(View.VISIBLE) directly from OpenGL thread raises an exception (CalledFromWrongThreadException) that states that "Only the original thread that created a view hierarchy can touch it's views". Maybe i can set up some kind of listener for an activity that will periodically check for a flag and show other view if needed?
Thanx in advance