fractalwrench / apkgolf Goto Github PK
View Code? Open in Web Editor NEWThe smallest Android APK in the world
Home Page: https://fractalwrench.co.uk/posts/playing-apk-golf-how-low-can-an-android-app-go/
The smallest Android APK in the world
Home Page: https://fractalwrench.co.uk/posts/playing-apk-golf-how-low-can-an-android-app-go/
https://fractalwrench.co.uk/posts/playing-apk-golf-how-low-can-an-android-app-go/ is not there. No info how to make the smallest Android apps. (
We should probably find the optimal one and use that. Currently it varies by a few bytes each time the build script runs.
The Zip format has two copies of each file's name: one in the file header and one in the central directory. Do we know which copy Android uses? Other software is inconsistent when it comes to filenames. If Android is consistent, we may be able to remove one copy and save len("AndroidManifest.xml") = 19 bytes.
@nneonneo
you can save 127 bytes
When trying to import the app on the Google Play Store, the website say that the app is not zip align.
I don't know if it can be solved or if we want to skip the play store check? ¯_(ツ)_/¯
The keystore file is needed to sign the package - you should provide this so that your result can be fully reproduced.
If you're already compressing the word manifest, I would think that m.m
would compress better than c.c
would.
My understanding of https://github.com/android/platform_frameworks_base/blob/b056324630b8adfeb38393bcab49f3b9c720f4fd/core/java/android/content/pm/PackageParser.java#L3486 is that FLAG_HAS_CODE would only be set (and a classes.dex required) if we have an element in the manifest. Since we don't have an application element, what happens if you delete classes.dex?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.