O'Reilly logo

Android™ for Programmers: An App-Driven Approach by Michael Morgano, Abbey Deitel, Harvey M. Deitel, Paul J. 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

14. Weather Viewer App: Web Services, JSON, Fragment, ListFragment, DialogFragment, ActionBar, Tabbed Navigation, App Widgets, Broadcast Intents and BroadcastReceivers

Image

Objectives

In this chapter you’ll:

• Use WeatherBug® web services to get the current conditions and five-day forecast for a specified city and process that data using an Android 3.x JsonReader.

• Use Fragments to create reusable components and make better use of the screen real estate in a tablet app.

• Implement tabbed navigation using the Android 3.x ActionBar.

• Create a companion app widget that can be installed on the user’s home screen.

• Broadcast changes of the app’s preferred ...

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