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
  • 144,163
  • 35
  • 302
  • 261
Umer Hassam
  • 1,282
  • 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,311
  • 1
  • 23
  • 30
0

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

Community
  • 1
  • 1
Samuh
  • 35,513
  • 26
  • 104
  • 116