Best Of Both Worlds: Mixing HTML5 And Native Code
mobile.smashingmagazine.com
OCTOBER 17, 2013
One difference is that the function reference must be prefixed with the JavaScript: protocol scheme: public void sendNamesToWebView() { JSONObject namesJson = new JSONObject(); try { namesJson.put("fname", fnameEditText.getText().toString()); Both sample applications are available in the GitHub repository for your reference.
Let's personalize your content