The document.location = architectsdk://... call is handled in native code's urlListener, where the passed id is used to call the right POI detail page."
I didn't understand where the native code listens to this javascript event. in "SamplePOIdatafromNativeActivity" I didn't find any code related to this . I'll appreciated if you can help me with this .
thanks
A
Andreas Fötschl
said
about 10 years ago
Hi there!
Please have a look at the latest SDK Version and find updated Android documentation in the devzone. Recently introduced "AbstractArchitectCamActivity.java" and "AbstractArchitectCamFragmentV4.java" describe the interaction between JS and native code in more detail. "SampleCamContentFromNativeActivity.java" demoes how to pass information from your Android code into JS.
m0j1 42420
1 person has this problem