Skip to content

Instantly share code, notes, and snippets.

@michaellcader
Forked from t4kemyh4nd/ato.html
Created November 15, 2022 02:01
Show Gist options
  • Select an option

  • Save michaellcader/b154418dc50c9e38baebf7aad3d9c08b to your computer and use it in GitHub Desktop.

Select an option

Save michaellcader/b154418dc50c9e38baebf7aad3d9c08b to your computer and use it in GitHub Desktop.
<html>
<body>
<script src='remote-server/jsBridge-mix.js'> //host the jsBridge-mix.js from resources directory
JsBridge.invoke("get_session_data", {}, function(a) { //the a variable will contain the response JSON object from the Java code
var i = {};
i = a;
window.alert(JSON.stringify(i);
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment