Android App Development: Working with Widgets
49mIntermediate2019-05-31
Authors

Emmanuel Henri
Executive with 20+ years of experience in programming and design
Course details
Learn to develop widgets—miniature application views—for your Android app. Widgets allow users to access and view the most important functions in your app, from the home screen or even another app. In this course, Emmanuel Henri shows how to use Android Studio and the AppWidgetProvider class and its built-in functions to build a simple app widget in less than an hour. He provides an in-depth review of widget capabilities and limitations as well as the Android design guidelines informing their layout and functionality. Then go hands on, as Emmanuel shows how to create and style the widget and add interactivity with the AppWidgetProvider functions. Plus, find out how to implement pinning and access further resources to build your own widget host and collections.
Learning objectives
Design guidelines for Android widgets
Creating the widget layout
Working with the AppWidgetProvider class
Adding functionality with provider functions
Pinning app widgets
Learning objectives
Design guidelines for Android widgets
Creating the widget layout
Working with the AppWidgetProvider class
Adding functionality with provider functions
Pinning app widgets
Skills covered
Android DevelopmentAndroidMobile DevelopmentGoogleDeep Dive (X:Y)
Concepts
Introduction
- Build your own app widget
- What you should know
Overview of Widgets Dev
- Introduction to widgets development
- Design guidelines - General
- Design guidelines - Details
- Android test app
Create the Widget Layout
- First widget layout
- Create elements in design or classes
- Set the widget styles
Work with the Widget Provider
- Introduction to the widget provider
- Exploration of AppWidgetProvider classes
- Overview of broadcast intents
- Work with provider functions
- Finalize the provider functions
Finalize the Widget
- Set up the preview image
- Introduction to pinning app widgets
- Other options - Widget host and collections
Conclusion
- Next steps