-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce app size #19
Comments
One thing I noticed is that it seems to be using a custom font. Would it be possible to pull the system font instead? |
Yes, @foldfree. We have a custom font (poppins) bundled with the APK. I had the same thought, so I tried removing it too. But, it created only a difference of ~100KB, which wasn't worth removing the font file, for the design factor that the custom font provides. On that note, we can load the font file from the internet (via downloadable fonts) but I don't want DMP to request internet permission too. |
I'm not a dev but what do you think of Kotlin? (the language music player go is written with) Would it be hard to rewrite it in that language? Seems like it is well suited for small projects. |
@foldfree Um... Kotlin is optimised for Android development, but I'm not sure whether that'd have an effect on APK size. I'll look into it. Anyways, something like rewriting the whole app in Kotlin seems feasible only is the results are significantly better ;) |
https://f-droid.org/packages/com.martinmimigames.littlemusicplayer
BTW this app is written in Java. |
Quotes app with all features = ~3MB
Another example Music Player Go = ~3MB
DMP with basic music player features = ~2MB
Any possibility of compressing DMP apk size?
The text was updated successfully, but these errors were encountered: