Hello all, as you can see, I try to use the Wikitude SDK.
I have another question :
Can I add a button on the top (like the Back and Capture button in the samples given) to open a window of my app ?
In the sample, the only button is the BACK button.
Example :
When clicking on the button, I want to open a page to my app.
G
Gabriele Boccone
said
about 9 years ago
Hi.
If you need to call a native function from your AR world, you can use an URL in the form "architectsdk://". In the sample application there is a basic handler for this callback (in ARchitectWindow.js, function "ARchitectWindow.prototype.onURLWasInvoked"), you can try it with the following Javascript code:
document.location = "architectsdk://xxx.yyy.zzz"
The current implementation of the callback has not been tested with the latest version of the SDK, and it probably won't work, so I suggest you to change it to:
Phil Phil