Chapter 7

Turning Your Application into a Home Screen Widget

In This Chapter

arrow Seeing how app widgets work in Android

arrow Understanding pending intents

arrow Building an App Widget Provider

arrow Putting your widget on the Home screen

Usability is the name of the game in regard to all disciples of application development: If your application isn’t usable, users simply won’t use it.

If you’ve followed the first six chapters of this book to build the Silent Mode Toggle application, it undoubtedly works well and is highly usable. Unfortunately, if the application were published at the Google Play Store, it likely wouldn’t be popular yet because a user would have to open the app and then tap a button to silence the phone. If the user hasn’t created a Home screen shortcut to the application, and the app is buried in the application launcher with other applications, a few extra steps are required: Unlock the phone, open the launcher, locate the app, open the app, and then tap the Silent button. At this point, the user might as well press the Volume Up and Volume Down keys to silence the phone. To make this ...

Get Android Application Development For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.