Start a new topic

SQL and AR World

SQL and AR World

Hi,

If you use the Wikitude SDK in your own app you can injection any data (e.g. from SQL lite  database) into the ARchitect World by using the callJavascript() method (see our SimpleARBrowser example for more info).
Thanks.
Hi,

I'm not aware of any solution to access a SQL database directly from javascript, except the mentioned ActiveX. Which as you already mentioned doesn't run on iOS and Android.

More importantly accessing SQL directly from Javascript would be a security problem. The better approach would be to encapsulate the database access on the server side (PHP being only one option) and  offer an interface to retrieve the data from javascript via AJAX.

If you use the Wikitude SDK in your own app you can injection any data (e.g. from SQL lite  database) into the ARchitect World by using the callJavascript() method (see our SimpleARBrowser example for more info).
Hi,

Is there any way to get a SQL access in the AR World ? I'm wondering how to add some AR content without updating the AR world but by adding items in database. This is not recommended to use javascript for SQL, a better way would be to use some server side language like PHP but Javascript can do it with ActiveX...  however, ActiveX is only avalaible on windows...

best regards.
Login or Signup to post a comment