Solved

Reading JSON from URL and parsing JSON data (Android)

Posted on 2014-03-22
5
397 Views
Last Modified: 2014-10-23
I want to read JSON from URL("http://vimeo.com/api/v2/album/2791227/videos.json") and parsing JSON data  into listview of Android.
0
Comment
Question by:kevinkang100
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 39958228
1) First of all you need to read the contents of the URL by using a URLConnection or an HttpClient object
2) Once you read all the contents into memory (a string) then you need to use the JSONObject. You can find a good tutorial here.
3) Once you have the json object you will need to create your own list adapter with the data you got from the URL. You can also find a very good tutorial here.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The case of the missing phone talks about the way a small electronic gadget (the mobile phone) has penetrated into our lives and has made us addicted to it.
These days software publishers make it possible to move all the possible applications on smartphones, tablets, smartwatches, and more. Although behind every logic and decision is a gross doubt: how do they make it possible? In this blog post, we sha…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question