"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

Virtual Button actions

How can I change virtual button actions? In the sample it is used for changing teapot colours. What to do if I want to use a virtual button to go to a certain url?

AlessandroB

Sat, 11/02/2013 - 15:51

You can open a URL in a new view by starting a new Activity or using other Android techniques; however, this is about Application programming and Android.

 

I have modified  VirtualButtons.cpp to call gotoUrl.java activity class in this way:

 

 

Thanks for your reply....NDK-build worked   :)

Compiler shows no error But when I touch the VB, the app crashes....

My codes look like this:

VirtualButtons.cpp