@Override protected String doInBackground(String... params) { try { results = HttpRequest.GetText(HttpRequest.getInputStreamForGetRequest(params[0])); Log.i("result", results); } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } return null; }
@Override protected String doInBackground(String... params) { try { results = HttpRequest.GetText(HttpRequest.getInputStreamForGetRequest(params[0])); Log.i("Result Are ", results); if (GlobalItemParser.connect(context, results)) ; } catch (JSONException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } return null; }