Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude Cloud Recognition
Cloud Recognition Questions or Problems
How to call a World function from Titanium JS
J
Jorge Lucas Justino
started a topic
almost 9 years ago
How to call a World function from Titanium JS
2 Comments
Oldest First
Popular
Newest First
Sorted by
Popular
A
Andreas Schacherbauer
said
almost 9 years ago
Hi Jorge!
Please have a look at our
Titanium Module documentation
. The function you need is:
callJavaScript
Use this function to call javascript which will be evaluated in the context of the currently loaded ARchitect World.
@param {string} javascript: The JavaScript that should be evaluated in the ARchitect World context.
Usage:
wikitude.callJavaScript('alert('Hello!\');');
Best regards
Andreas
J
Jorge Lucas Justino
said
almost 9 years ago
Hey,
I'm trying to pass some values to the World object but I'm not being able to,
I can call a Titanium function from the World object using the document.location = "architectsdk://myfunction";
So how can I call a World object function from Titanium js?
Thanks in advance. :)
Login
or
Signup
to post a comment
More topics in
Cloud Recognition Questions or Problems
Any wikitude module for Titanium in plan?
Titanium Android example works only in debug mode
Is there a release date for Titanium Module?
Vuforia in the cloud
Update on release of Titanium Module
Integrating SDK and running in app created using Titanium
Help to include wikitude into titanium project
Help Using the included Titanium samples
Titanium Module now available in Appcelerator Marketplace
No Video Support on iOS titanium sample app?
See all 121 topics
© 2021 Wikitude, a Qualcomm company
Jorge Lucas Justino