I’ve taken the most recent default Android Launcher and made it available as an easy to compile standalone, boilerplate project.
The Git repository is ready to be cloned and compiled using Android Studio. The finished .apk application is compatible with Android versions 5+. It’s a great starting point to build a new launcher!
Through the Android Open Source Project (AOSP), from Google, you can find all kinds of interesting code.
If you want to build a new Android Launcher application, a good place to start would be the launchers that are already available open source with permissive licenses.
There are three available from AOSP, each replacing the last as the current default Android launcher: Launcher, Launcher2, and Launcher3.
I took the 7th revision of the 5.0.0 release of Launcher3 and modified it to compile easily using Android Studio.
Follow these instructions to get the source and build it yourself:
- Make sure you have Android SDK installed with 5.0.0
- Make sure you have Java 8 JDK (I’d recommend the jenv tool to manage multiple JDK installations)
- git clone https://github.com/c-h-/standalone-android-launcher3
- Open the cloned project in Android Studio
- Build it!
By Charlie Hulcher https://charlie.engineer