frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

An Android app written in C that fits in 1,600 bytes

https://github.com/regisvidal/tiny-android-app-in-c
1•regisvidal•10m ago

Comments

regisvidal•10m ago
I wanted to see how small an Android APK can be. I was able to squeeze it as small as 1,600 bytes: it has a NativeActivity in C that fills the screen with a gradient and responds to input. The source is one C file, a tiny manifest and a Makefile. I wrote a small Python script that trims the library and the manifest, and signs the APK.

My starting point was the same app written in the style of the NDK sample: 8,220 bytes. https://github.com/android/ndk-samples/tree/main/native-acti...

What surprised me the most:

- apksigner pads the v2 signing block to 4 KB, for a hash tree Android does not need to install the app. It turned a 1,299 byte unsigned APK into 8,349.

- Android's ELF loader requires section headers, but reads only two of them, and only some of their fields.

- aapt2 hardcodes UTF-16 for the manifest's strings, though Android reads UTF-8. Android looks attributes up by resource id, so their names can be empty strings.

- The v2 verifier checks that the certificate holds the signing key, but never checks the certificate's own signature. With an empty signature, empty names and a weak compressed P-224 key, Android still installs it.

You can find more details in these two articles:

https://regisvidal.com/articles/tiny-android-app-in-c/

https://regisvidal.com/articles/tiny-android-app-in-c-again/

Agentic Video in Gemini

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-agentic-video...
1•gmays•1m ago•0 comments

Running llm.c bare-metal as a UEFI application from a USB stick

https://huggingface.co/LLM-Baremetal/OO
1•djibirooney•2m ago•0 comments

You have 2 years left to build generational wealth

https://martinnesbitt.substack.com/p/you-have-2-years-left-to-build-generational
2•mox-1•4m ago•0 comments

Younger adults more likely to say acceptable to wear T-shirts&sweatpants to work

https://yougov.com/en-us/articles/55583-younger-adults-are-more-likely-than-older-ones-to-say-its...
1•bookofjoe•4m ago•0 comments

'Grand Theft Auto VI' Becomes the Best-Reviewed Video Game

https://www.bloomberg.com/news/articles/2026-11-18/-grand-theft-auto-vi-becomes-the-best-reviewed...
1•speckx•5m ago•0 comments

Clicks and Kalashnikovs: The Houthis, AI, and a New Security Debate

https://orfme.org/expert-speak/clicks-and-kalashnikovs-the-houthis-ai-and-a-new-security-debate/
1•ryan_j_naughton•5m ago•0 comments

Attackers Used Optimizely to A/B Test Malware on Top Websites

https://krebsonsecurity.com/2026/11/attackers-used-optimizely-to-a-b-test-malware-on-top-websites/
1•Bender•5m ago•0 comments

Show HN: Terminess, a harness that runs the official Claude Code and Codex CLIs

https://github.com/Terminess/terminess
1•nsokin•5m ago•0 comments

Xfce 4.22 Working Toward Early 2027 Release

https://www.phoronix.com/news/Xfce-4.22-Roadmap
2•Bender•6m ago•0 comments

Jensen Huang's fall hits 'open' models in boost to Anthropic and OpenAI

https://www.ft.com/content/418ca885-fbcf-4b9f-a8b9-2bd60b543fc5
2•teleforce•6m ago•0 comments

State of HTML Results

https://2026.stateofhtml.com/en-US/
2•francescobonomi•6m ago•0 comments

GTA 6 Won't Get a 60 FPS Mode, Even on PS5 Pro

https://kotaku.com/gta-6-wont-get-a-60-fps-mode-even-on-ps5-pro-because-its-not-powerful-enough-2...
2•HelloUsername•6m ago•1 comments

Show HN: Space-Core, a free browser MMO your own AI agent plays over MCP

https://space-core.at/
1•SpaceCoreDev•6m ago•0 comments

Mac never sleeps: how DarkWake broke my scheduled AI jobs

https://nickriebe.com/blog/darkwake-broke-my-scheduled-ai-jobs/
2•djzidon•7m ago•0 comments

Runtime Quality Requires Humans

https://verbosemode.net/posts/runtime-quality-requires-humans
1•doublebuffered•8m ago•0 comments

Show HN: Natel, a Self-Hosted Google Contacts Alternative for CardDAV, 20MB RAM

https://github.com/KewinDousse/natel
1•Protectator•9m ago•0 comments

GPT-6.2 Sol and Astra changed after reviewers got early access

https://twitter.com/thsottiaux/status/2122929634916679820
1•arbayi•10m ago•0 comments

Trump administration weighs forcing US firms to disclose Chinese AI use

https://www.reuters.com/world/china/trump-administration-weighs-forcing-us-firms-disclose-chinese...
4•danorama•10m ago•0 comments

An Android app written in C that fits in 1,600 bytes

https://github.com/regisvidal/tiny-android-app-in-c
1•regisvidal•10m ago•1 comments

Ask HN: Do LLMs really code better than you?

1•B4uler5•11m ago•0 comments

The State of Small-Business Websites, November 2026

https://seoscoreapi.com/research/state-of-small-business-websites-2026
2•avansledright•12m ago•0 comments

A 4.5M-parameter TTS model runs 70x real-time on CPU and cost just $10 to train

https://huggingface.co/n4ze3m/tiny-voca
5•mrkn1•13m ago•0 comments

Data Minimization Is Imperative for the Age of AI Agents

https://www.techpolicy.press/data-minimization-is-imperative-for-the-age-of-ai-agents/
2•sebastian_z•14m ago•0 comments

Researchers warn powerful El Niño could trigger global food and health crises

https://phys.org/news/2026-11-powerful-el-nio-trigger-global.html
1•throwaway5752•15m ago•1 comments

Realtime, unbuffered, streaming, non-newline-delimited regex pipeline in Bash?

https://www.autodidacts.io/realtime-streaming-regex-filters-in-bash-pipeline-solve-sed-buffering-...
1•speckx•17m ago•0 comments

Qualcomm Ath12k Linux Driver Preparing for New WiFi 8 Hardware

https://www.phoronix.com/news/Qualcomm-Ath12k-Linux-WiFi-8
2•Bender•17m ago•0 comments

The Reconstructible Mind: Generative AI and Undisclosed Thought

https://zenodo.org/records/23660004
2•mirceabulinski•17m ago•0 comments

Show HN: RockDesk – remote desktop control for AI agents

https://rockdesk.io/
1•AIterQ•18m ago•0 comments

Nintendo takes Picofly firmware down from GitHub [video]

https://www.youtube.com/watch?v=-TLCGUpoD6c
1•cowlevel•18m ago•0 comments

Show HN: Filelayer – file permissions, revocable links and audit log for Node

https://github.com/filelayer/filelayer
1•urios•19m ago•0 comments