Code to pass JSON data
JSONObject final_obj = new JSONObject(stringjsonstringtosend); view.loadUrl("javascript:" + callback + "("