You can use droidQuery to use Ajax syntax. This library uses AsyncTask to run queries in the background. A simple example:
$.ajax(new AjaxOptions().url("http://www.example.com").type("GET").dataType("json").success(new Function() { @Override public void invoke($ d, Object... args) { JSONObject json = (JSONObject) args[0];
source share