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

Chapter 17. AppWidgets > Introducing the AppWidget

17.1. Introducing the AppWidget

When a user picks up an Android device (or any smartphone for that matter), their first impression is often defined by their experience interacting with the phone’s home screen. On the home screen, a user interacts with applications, initiates a phone call, searches the device, launches a browser, and more. By the time the user begins to browse for an application among the sea of icons in the launcher window, a certain percentage of users will be lost and will conclude that the device just isn’t user friendly. This can be likened to burying important web content deep within a website—you need to be wary of hiding the value of your applications. One solution to this challenge for Android is to employ an AppWidget.

17.1.1. What’s an AppWidget?

An AppWidget is code that runs on the home screen of an Android device. The visual size of an AppWidget instance can vary and is designated by the programmer at design time. The home screen is broken up into 16 usable spaces, each of which is approximately 74 pixels square. An AppWidget can span a rectangular area ranging from 1 × 1 spaces to 4 × 4 spaces, provided there’s room on the current home screen page. (A typical phone has around five to nine home screen pages.)


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free Trial


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