public boolean urlWasInvoked(String uriString){ Uri invokedUri = Uri.parse(uriString); if("scorerSelected".equalsIgnoreCase(invokedUri.getHost())){ ... }
but it doesn´t work.
Am i not doing something? Thx
A
Andreas Fötschl
said
about 6 years ago
Please use Android debugging and remote webview debugging to figuer out where the issue is. I'd log the "architectSdkUrl" in your JS environment and the "invokedUri.getHost()" value in native code.
A
Andreas Fötschl
said
about 6 years ago
Please have a look at the SDK sample app - Browsing POIs / Native POI detail page. The urlListener in Android and the document.location = "architectsdk://yourcommand" will do the job for you.
Ignacio Rocillo