O'Reilly logo

Android™ 6 for Programmers: An App-Driven Approach, Third Edition by Alexander Wald, Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. WeatherViewer App

REST Web Services, AsyncTask, HttpUrlConnection, Processing JSON Responses, JSONObject, JSONArray, ListView, ArrayAdapter, ViewHolder Pattern, TextInputLayout, FloatingActionButton

Image

Objectives

In this chapter you’ll:

Image Use the free OpenWeatherMap.org REST web services to get a 16-day weather forecast for a city specified by the user.

Image Use an AsyncTask and an HttpUrlConnection to invoke a REST web service or to download an image ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required