Tools & utilities

Build a minimalist Android launcher app to stop doomscrolling

A native Android build brief for your own home screen: a big clock, five favourite apps, a searchable app list and an optional pause before opening distracting apps.

Apirex TeamUpdated Android
On this page
  1. Screens
  2. Data model
  3. Native features
  4. Android notes (Kotlin and Jetpack Compose)
  5. iPhone notes (what works instead)
  6. Copy-paste prompt
  7. Acceptance test
  8. Frequently asked questions
5screens
3data tables
165word prompt
1platform: Android

Unlocking the phone to check the time and surfacing forty minutes later is a very modern problem. This brief builds your own calm home screen instead: a big clock, the date, five apps you choose, a search for everything else and an optional ten-second pause before opening the apps you named as distracting. This is an Android-only idea, and that is the point: Android lets any app become the home screen through the HOME intent, while iPhone does not allow replacing the home screen at all. The first proof is simple: press the home button, the new launcher appears, and tapping a favourite opens the right app every time.

Screens

  • Home: A large clock and date, five favourite apps as plain text or icons and nothing else.
  • App list: Every launchable app, sorted alphabetically, with search that filters as you type.
  • Pause screen: A short breathing countdown with Open anyway and Never mind, for apps marked as distracting.
  • Favourites editor: Pick and reorder the five home apps and mark distracting ones.
  • Setup: A guided step to set this app as the default home app, with a way back to the old one.

Data model

Launcher settings stored on the phone
TableKey fieldsPurpose
favouritespackage_name (text), activity_name (text), position (int), label_override (text)The five apps on the home screen and their order.
distracting_appspackage_name (text), pause_seconds (int)Apps that show the pause screen before opening.
open_eventsid (uuid), package_name (text), opened_at (timestamptz), paused (bool), cancelled (bool)A private log of opens through the launcher, used only for a weekly 'pauses that worked' count.

A launcher must start instantly every time the home button is pressed, so it should hold no network code at all. Keep favourites and settings in DataStore or Room, load the app list from the system on launch and when packages change, and never upload which apps someone uses. The open log stays on the device and can be cleared with one button. There is no reason to add a backend to this app.

Native features

Becoming a home screen is a native Android capability with a few strict rules. The main activity declares the HOME category, the system asks the user to choose it as default, and the app list comes from the package manager. Package visibility rules on modern Android mean the launcher should declare a query for launcher activities rather than asking to see every installed package. Wallpaper can show through by using a wallpaper theme.

FeatureAndroid (Kotlin)iPhone (SwiftUI)Notes
Become the home screenActivity intent filter with MAIN, HOME and DEFAULT; RoleManager ROLE_HOME requestNot possible: iPhone has no replaceable home screenAlways offer a clear way to switch back to the previous launcher.
List installed appsPackageManager queryIntentActivities for MAIN and LAUNCHER with a queries entryNot available to appsRefresh when apps are installed or removed.
Show the wallpaperTheme with windowShowWallpaper and a transparent backgroundNot applicableKeep text readable with a subtle scrim over bright wallpapers.
Pause before an appLauncher shows its own countdown before startActivityScreen Time and Shortcuts automations offer something similarThe pause only applies to apps opened from this launcher.

Android notes (Kotlin and Jetpack Compose)

Keep the home screen composable tiny and cheap: a clock that ticks once a minute, a column of text buttons and no heavy images. Back presses on the home screen should do nothing, and the app list should open with a swipe up or a tap.

  • Declare the launcher activity with the HOME and DEFAULT categories, singleTask launch mode and excludeFromRecents, then on Android 10 and later use RoleManager to request ROLE_HOME from the Setup screen.
  • Load apps with queryIntentActivities for ACTION_MAIN and CATEGORY_LAUNCHER, declared in a queries element, cache labels and icons in memory, and listen for package added and removed broadcasts to refresh the list.
  • On a real phone, set the launcher as default, press home from several apps, install and uninstall a test app, rotate the phone and restart it. Each time the home screen must return quickly with favourites intact.

iPhone notes (what works instead)

There is no iPhone version of this exact app, because iOS does not let any app replace the home screen or list other installed apps. If you want a calmer iPhone, the closest native routes are a home screen widget, Focus modes and Shortcuts automations that the user sets up themselves.

  • A SwiftUI app with a WidgetKit widget could show a big clock and links to a few apps through URL schemes, but it sits on the normal home screen rather than replacing it.
  • Pausing before an app on iPhone is handled by Screen Time features and the Family Controls framework, which needs a special entitlement from Apple; treat that as a separate project.
  • If you build an iPhone companion, say clearly in the copy that it is a widget and not a launcher, and remember the iPhone build needs a Mac with Xcode.

Copy-paste prompt

Build this yourself 165 words · Android
I want to stop doomscrolling, so build me my own minimalist launcher for Android. Make it a real home screen app that I can set as default with a guided setup and an easy way to switch back. Screens: Home, App list, Pause screen, Favourites editor and Setup. Home shows a big clock, the date and only five apps I choose, as plain text over my wallpaper. Swipe up for an alphabetical list of all my apps with instant search. Let me mark apps like Instagram as distracting; opening one from the launcher shows a ten-second breathing pause with Open anyway and Never mind. Keep a private log of opens and pauses on the phone and show how many pauses I backed out of this week. No internet permission, no ads, no tracking. Refresh the list when I install or remove an app. It must open instantly every time I press home. Acceptance: home always opens my launcher and every favourite opens the right app.

Opens Apirex with this prompt in the box. Pick the Android · Kotlin tab before you send.

Acceptance test

  1. Install the app, follow Setup and confirm the system now opens this launcher when the home button is pressed.
  2. Choose five favourites, reorder them and confirm each opens the right app from the home screen.
  3. Mark one app as distracting, open it and tap Never mind; confirm you return home and the log records a cancelled open.
  4. Install a new app and uninstall another while the launcher is running; the app list should update without a restart.
  5. Use the Setup screen's switch-back button and confirm the previous launcher becomes the home screen again.

Measure speed honestly: press home twenty times from heavy apps and note how long the clock takes to appear. Anything slower than the old launcher will make people switch back within a day. Also check that the app requests no internet permission in the final manifest, so the privacy promise is enforced by the system, not just by copy.

Frequently asked questions

Can I build this for iPhone?

Not as a launcher. iOS does not allow apps to replace the home screen or see other installed apps. A widget with a big clock and a few shortcuts is the closest iPhone option.

Will it block apps completely?

No. The pause screen appears only when an app is opened from this launcher, and Open anyway always works. It is a speed bump for habits, not parental control.

Is it safe to set a home app I built myself?

Yes, as long as there is always a way back. The Setup screen should include a button that opens the system's default home app settings, so you can return to your old launcher at any time.

Build this blueprint

The blueprint prompt, ready for your platform. Edit anything before you send it.

Android
AndroidKotlin · Jetpack ComposeReal source on your computer

Opens Apirex with this prompt. Pick the Android · Kotlin tab before you send. The Free plan includes 5 Rex Credits a day.