Description
We’ll cover how to update and configure widgets with data from an API or database periodically, how to make your widget blend in with your device wallpaper and respond to user interactions. Also learn how Glance differs from regular Jetpack Compose and some of the traps when you are just getting started with widgets!
Talk length: 30 minutes + question time
In the workshop, we will step through adding a simple widget that displays motivational quotes on a set period and with on demand updates. Using Gemini we can generate quotes on any topic that the user can think up!
Workshop length: 2 hours (including getting started with Gemini)
Slides
Widgets Are So Hot Right Now! - Google Slides
Widget Fever Workshop - Google Slides
Workshop Resources
Activity Instructions & Code Snippets «« Start here at the workshop
Related Blog Posts
Key Documentation & Links
Widget Apps I have built
Widgets Getting Started
Widget Samples
Where to find help
Gemini
- Gemini Cookbook
- Google AI For Developers - Gemini SDKs
- Gemini API Client SDK - Android
- Responsible AI - Safety Guidance
- Responsible AI - Safety Settings
- Prompt Best Practices
- Prompting 101 Handbook
History
- October 5, 2024 - GDG Melbourne Devfest - Melbourne, Australia - Video
- October 19, 2024 - GDG Sydney Devfest - Sydney, Australia
- October 25, 2024 - GDG Brisbane Devfest - Brisbane, Australia
- November 10, 2024 - GDG Auckland Devfest - Auckland, New Zealand