Solved

Reading JSON from URL and parsing JSON data (Android)

Posted on 2014-03-22
5
381 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
The viewer will learn how to implement Singleton Design Pattern in Java.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

785 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