0

I've successfully done Httpclient using Get method and also form Json. Now I dont understand how to retrieve the Json data into a list view.

I googleed the code for an hour but I still don't understand how to implement it.

Umer Hassam
  • 1,332
  • 5
  • 23
  • 42

2 Answers2

0

This depends on exactly how you want to handle the JSON. Try looking at How to parse a JSON and turn its values into an Array? once you have it parsed into an array just add the array elements to the listview.

Have a look at http://developer.android.com/resources/tutorials/views/hello-listview.html for how to add an array to the listview.

Community
  • 1
  • 1
Aidanc
  • 6,921
  • 1
  • 26
  • 30
0

You might also want to consider the following threads:1, 2 and 3.

Community
  • 1
  • 1
Samuh
  • 36,316
  • 26
  • 109
  • 116