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