title: Listen to javascript function invocation from java - Android
body: <p>I have some HTML5/javascript files hosted on a server. When a button is clicked on the HTML5 page a javascript function is invoked. I want to listen for when a function is invoked and get the json that the function returns. Previously I was opening a port on the device but that doesn't seem to work on Android 3.0. I have heard that you can use <strong>external interface</strong> to listen to javascript calls but I don't know how to implement that.</p>