Log in or register to post comments

Intents in unity.

May 12, 2013 - 7:37am #3


I am building an ar app in unity using vuforia.

I have created a virtual button.

On the click of this virtual button I want to use an Intent to open a web browser with an url.

How can I do it in Unity?

Intents in unity.

May 12, 2013 - 11:36am #2

Hi, first, you can detect the virtual button event (button pressed / button released) using an IVirtualButtonEventHandler, as shown in the Virtual Button sample;

then, to start an Android Intent you need to use the plugin mehanism which allows you to call Android Java code from Unity:

this is explained here:



We also have a small tutorial about how to integrate Java Android plugins into a Vuforia-based Unity project; this is probably a useful starting point:


I hope this helps.


Intents in unity.

May 13, 2013 - 8:17am #1

I will go through it. Let me see if it helps. I'll get back if  I have any doubts.

Log in or register to post comments