Beyond the Grid: Crafting a Custom Android Launcher from Scratch
As the creator of Simple Minimalist Launcher, a text-based launcher for Android, I have worked through the unusual challenges of replacing one of Android's most fundamental components. This talk demystifies building a custom launcher: the app that sits between the user and the Android system.
It cuts straight to the essentials: what a launcher is and where it sits, how to build one in Kotlin and Jetpack Compose, and what to consider when you build a custom home screen experience.
Key takeaways
The core foundation
Using PackageManager to query and manage installed apps, with a clean architecture that keeps the launcher maintainable.
Staying in sync
Using BroadcastReceivers to react instantly to installs, updates and uninstalls, so the home screen is never out of date.
Navigating the maze
Permissions such as QUERY_ALL_PACKAGES, Play policy, OEM quirks and Android version fragmentation.
The accessibility "hack"
How Accessibility Services can power features like an app blocker, and the ethics and pitfalls of doing so.