"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Adding Android buttons

Hi, I was wondering if it is possible to add some buttons from Android in main.xml (like Button or ImageView) directly on the screen, when the camera has started? I tried to do it via the Graphical Layout for the xml file, and in the Activity for the java file. But the button does not appear! Thanks

You probably want to add the buttons to a separate xml file and add this to the view hierarchy at runtime, after the glView has been added. See the Dominoes sample for details, it does just that. Look for calls to addContentView in Dominoes.java. - Kim