O'Reilly logo

Sams Teach Yourself Android™ Application Development in 24 Hours, Second Edition by Shane Conder, Lauren Darcey

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

Hour 18. Creating a Home Screen App Widget

What You’ll Learn in This Hour:

Designing and implementing an App Widget

Working with styles

Handling App Widget user events

Using services with App Widgets

In this hour, you create an App Widget for the Been There, Done That! application. Specifically, you create a simple App Widget control that can be added to the user’s Home screen to display the user’s avatar, nickname, and score information and remind her to continue playing the game.

Designing an App Widget

The Android SDK provides developers with an interesting way to provide functionality outside the traditional boundaries of a mobile application: App Widgets. Developers can use the App Widget API to create small controls that can be ...

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