Support for Wikitude Software Development Kit and tools is coming to an end. All the details can be found here. Kindly note that no new topics can be started on the forum from 21.09.2023. Also, some of the FAQs here (especially license related ones) might become inaccurate.
In the section Communication between JavaScript and Android Native (Java) of the Javascript API, this line:
architectView.callJavascript(newData('" + poiDataAsJson +")')
should be changed with:
architectView.callJavascript('newData(" + poiDataAsJson +")')
link: https://www.wikitude.com/external/doc/documentation/latest/android/samples.html#communication-between-javascript-and-android-native-java
Hi Francesco,
thanks for taking the time and sending this to us - very much appreciated. Your correct version is now in the documentation and will be live with the next deployment.
Thx
Phil
Francesco Sassi
In the section Communication between JavaScript and Android Native (Java) of the Javascript API, this line:
architectView.callJavascript(newData('" + poiDataAsJson +")')
should be changed with:
architectView.callJavascript('newData(" + poiDataAsJson +")')
link: https://www.wikitude.com/external/doc/documentation/latest/android/samples.html#communication-between-javascript-and-android-native-java