Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Android App Development: Working with Widgets

via LinkedIn Learning

Overview

Learn to develop widgets—miniature application views that can be embedded in larger applications—for your Android app.

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.

Syllabus

Introduction
  • Build your own app widget
  • What you should know
1. Overview of Widgets Dev
  • Introduction to widgets development
  • Design guidelines: General
  • Design guidelines: Details
  • Android test app
2. Create the Widget Layout
  • First widget layout
  • Create elements in design or classes
  • Set the widget styles
3. 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
4. Finalize the Widget
  • Set up the preview image
  • Introduction to pinning app widgets
  • Other options: Widget host and collections
Conclusion
  • Next steps

Taught by

Emmanuel Henri

Related Courses

Reviews

Start your review of Android App Development: Working with Widgets

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free