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.

Tim Cooper
  • 151,519
  • 37
  • 317
  • 271
Umer Hassam
  • 1,312
  • 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,661
  • 1
  • 24
  • 30
0

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

Community
  • 1
  • 1
Samuh
  • 36,003
  • 26
  • 107
  • 116