Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Reading JSON from URL and parsing JSON data (Android)

Posted on 2014-03-22
5
Medium Priority
?
410 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

688 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