0

I have getting this error of fetching data and store in json format. So please help me

DefaultHttpClient httpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(url);

HttpResponse httpResponse = httpClient.execute(httpGet);
HttpEntity httpEntity = httpResponse.getEntity();
linkinStream = httpEntity.getContent();
Sebastian Pakieła
  • 2,752
  • 15
  • 24
  • Hi. Where is the error? – nada Oct 30 '19 at 12:42
  • Use Logcat to examine the stack trace associated with your error: https://stackoverflow.com/questions/23353173/unfortunately-myapp-has-stopped-how-can-i-solve-this – CommonsWare Oct 30 '19 at 12:43
  • Please provide us information with error message. Otherwise its hard to help you. – Sebastian Pakieła Oct 30 '19 at 12:43
  • at com.wingcompiler.utils.JsonUtils.getJSONString(JsonUtils.java:73) at com.wingcompiler.AsyncTask.LoadAbout.doInBackground(LoadAbout.java:30) at com.wingcompiler.AsyncTask.LoadAbout.doInBackground(LoadAbout.java:13) – Gunjeet Bawa Oct 31 '19 at 13:07
  • Here is my jsonUtils File Link-https://drive.google.com/open?id=1bh2RSehGaqz6M0jiv-HhV5PxG9Q3SXb1 – Gunjeet Bawa Oct 31 '19 at 13:10
  • Here is my LoadAbout File Link please help me guys - https://drive.google.com/open?id=1lgSKkTSX81GsDJOB214xvy6XOPP_pyAN – Gunjeet Bawa Oct 31 '19 at 13:11

0 Answers0