Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

14. Weather Viewer App

14. Weather Viewer App

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 various types of 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 city to the companion app widget.

Outline

14.1 Introduction

14.2 Test-Driving the Weather Viewer App

14.3 Technologies Overview

14.4 Building the App’s GUI and Resource Files

14.4.1 AndroidManifest.xml

14.4.2 WeatherViewerActivity’s main.xml Layout


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint