0

I have been searching for a way to get the json data from a URl (for example: http://search.twitter.com/trends.json) and display it in a listview. Couldnt get a perfect example to get it done. Can anyone plz help me out by getting the solution and providing a good example of how to do it...

1
  • Post the code you have so far. Commented Apr 29, 2010 at 12:51

2 Answers 2

1

found this tutorial : http://damonsk.com/2010/01/jsonarray-httpclient-android/

Sign up to request clarification or add additional context in comments.

Comments

0

Android comes with Json-lib so parsing JSON is easy. You just need to use the HTTPclient classes to retrieve the data from the URL, and you can use the JSONObject class to parse the JSON. And write a ListAdapter to pull data from the JSONObject.

1 Comment

Can u please provide me a working example of how to do it coz i m still a newbie... PLzzzzz

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.