Files
2026-07-12 19:22:32 +00:00

33 lines
1.4 KiB
Markdown

THE 974-BYTE ANDROID APP
I built a real Android app that is only 974 bytes. A single text
message is bigger than this whole app. It installs, opens, and
shows a window on a real phone.
I did it by writing the app by hand, byte by byte. Normal tools
pad an app with tons of extra stuff. I placed every byte myself
and kept only what the phone truly needs.
To get this small, I stripped it to four bare pieces: a short
note telling the phone the app's name, no code at all (I let the
app borrow a window the phone already has built in), the smallest
possible security seal the phone will still trust, and a wrapper
with every unnecessary field removed.
I tested every single cut on a real phone. If it complained, I
put the byte back. If it stayed happy, the byte was gone. I did
this hundreds of times until nothing else could come out.
The final clever move: I gave the app a name that lets it borrow
the phone's own built-in window with a tiny shorthand, instead of
spelling out a long one.
It's built for Android 14, because that's the version my phone
runs. If you aim at an older version of Android, the rules are
looser and the app can get even smaller. Aim at a newer one and
it gets a little bigger. I chose 14 because it's what I could
actually test and prove works.
974 bytes. It installs, it opens, it shows on screen. A complete
app, smaller than the words on this page.