I have few issues concerning graphic interface. I would like to change a TextView depending on the image tracked (with ImageTargets sample).
I've added a GUIManager as in VirtualButton & this works fine.
However, i want to change a text from a TewtView (from the GUIManager) depending on what is currently tracked.
I have tried to add the GUIManager object to the renderer &, in the function onDrawFrame, I tried mGUIManager.updateText(), but i receive "callfromWrongThreadException" exception (which I understand).
However, i don't know how to fix this, maybe create an event in the renderer thread which tells the main thread each time the function onDrawFrame is called, but I don't manage to do it ( I don't know how to do this..).
Thanks by advance for your time.