News for hackers. Stuff that matters.
Re:Android: Freeing up 60% of storage for apps by removing p... by TrianguloY on Wednesday March 09, 2022 @09:19AM (#30614633)
> edit: How does Android even calculate those numbers? They don't add up at all...

No idea, but I would also like to know. My apps are so small that once they reported a negative size.

(Found the picture! https://imgur.com/a/KDI9Y4M)

Re:Android: Freeing up 60% of storage for apps by removing p... by TonyTrapp on Wednesday March 09, 2022 @09:26AM (#30614702)
You should install a few more copies of that app to free up space on the device!
Re:Android: Freeing up 60% of storage for apps by removing p... by BizarroLand on Wednesday March 09, 2022 @07:40PM (#30621894)
DownloadMoreStorage.com
Re:Android: Freeing up 60% of storage for apps by removing p... by sfe22 on Wednesday March 09, 2022 @02:28PM (#30618920)
How do you get these tiny android app sizes. Even the most basic android app from Android studio is like 500kB
Re:Android: Freeing up 60% of storage for apps by removing p... by TrianguloY on Wednesday March 09, 2022 @02:57PM (#30619233)
Or even 1MB for the hello world app, I know. But that's because of the AppCompat (and relative) libraries.

If you program using the built in api only (this means the functions available to the target sdk, nothing newer) then your app size will be basically all assets, as code is very compact by itself.

But of course, coding is by far more complex, you are like doing native programming (although easier than c). My apps are small tools, so I can.

Oh, and don't use Kotlin. It's a wonderful language and far better than java, but horribly optimized.

Re:Android: Freeing up 60% of storage for apps by removing p... by sfe22 on Thursday March 10, 2022 @02:26AM (#30624091)
Will try this for sure