I don't even know if this is possible, or what the theoretical "maximum" amount of KB savings would be, but if I understand how things work correctly.....
I'll use the core library as an example but I'm sure this could apply to all libraries referenced in a project:
While converting the B4A code to java, would it be possible to keep track of all functions used in the project and then create a temporary copy of the core (and others) library and remove the code for unused functions from the library?
Again, perhaps the savings would not be worth it, but I figured this could possibly reduce an APK's size by 100 to several hundred KB or more. Maybe just nitpicking but when it comes to APKs (and EXEs for that matter), I've always felt that smallest is better.
I'll use the core library as an example but I'm sure this could apply to all libraries referenced in a project:
While converting the B4A code to java, would it be possible to keep track of all functions used in the project and then create a temporary copy of the core (and others) library and remove the code for unused functions from the library?
Again, perhaps the savings would not be worth it, but I figured this could possibly reduce an APK's size by 100 to several hundred KB or more. Maybe just nitpicking but when it comes to APKs (and EXEs for that matter), I've always felt that smallest is better.