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