I’m creating an android application for someone that gathers information about his clients and their transactions. His device is quite old so he asked if I could decrease the size of the program.
I tried to do this using the simplest possible algorithm which is to make the font size smaller. I tried this and compiled my program but it didn’t change in size, not even a single byte.
This is my output
total 18228
-rw-rw-r-- 1 mark mark 18665472 May 2 15:27 ClientTransactions.jar
I changed the font of my program from 12pt to 8pt
The new output is:
total 18228
-rw-rw-r-- 1 mark mark 18665472 May 2 15:29 ClientTransactions.jar
Can anyone help me further with this, i’m really confused
Changing the font size of your source code has no effect on it’s size.
Compiling it will result in the same size every time.
Try to refactor your code and get rid of any unused methods,…