Skip to content

Instantly share code, notes, and snippets.

@aemxn
Created January 11, 2014 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aemxn/8374104 to your computer and use it in GitHub Desktop.
Save aemxn/8374104 to your computer and use it in GitHub Desktop.
protected String doInBackground(String... args){
// Building Parameters
List<NameValuePair> params = new ArrayList<NameValuePair>();
// getting JSON string from URL
String json = jsonParser.makeHttpRequest(URL_CATEGORY, "GET",
params);
// Check your log cat for JSON reponse
Log.d("Categories JSON: ", "> " + json);
return json;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment