Start a free Courses trial
to watch this video
In this course we will learn about a very common and important element of Android development: downloading data from the Internet! We will request weather forecast data from a free API provided by forecast.io. We will then parse that data (in JSON format) and display it in a single-page app. We will also see how to handle errors and situations when the network is unavailable.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upHi, my name is Ben. 0:00 And, in the Build a Weather App project, 0:01 we will learn about some very common elements of Android development, 0:03 downloading data from the internet and displaying it on the screen. 0:06 We will start by simply connecting to the internet to request data from a web site. 0:09 We use an application programming interface or 0:14 API, called forecast.io, as our data source. 0:16 And, we'll cover how to get and receive data, handle errors, and 0:19 handle situations when the network is unavailable. 0:23 The weather data will be returned in a popular format called JSON. 0:25 We'll learn how to parse JSON data using some helpful Android classes. 0:28 We'll then display this data in a custom design layout. 0:32 By the end of this course, you should have a good grasp on using an API, how 0:36 to make an asynchronous network request, working with data in JSON format, and 0:39 an ever-growing understanding of the model view controller design pattern in Android. 0:44
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up