Designing an App Widget

The Android SDK provides developers with an interesting way to provide functionality outside the traditional boundaries of a mobile application: by using App Widgets. Developers can use the App Widget API to create mini controls or views that can be added to the user's Home screen. These simple controls can provide a user with information about the application and remind the user to launch the application when necessary.

App Widgets can be useful for certain types of applications, such as those that might need to inform the user of some status or update. A weather application might include an App Widget that displays the current weather conditions at the given location on the Home screen. A task management application might include an App Widget that informs the user of the next task on his or her to-do list or how many tasks are left for the day. A picture gallery application might include an App Widget that acts as a slideshow of all the pictures stored in the gallery.

In this lesson, you will create a simple App Widget for the Been There, Done That! application. This App Widget will do the following:

► Display the user's avatar

► Display the user's nickname

► Display the user's current score

► Launch the Been There, Done That! application when clicked

Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook

Post a comment