Give me all your tricks for minimizing jar file size
Posted on
16th Feb 2014 07:03 pm by
admin
Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier which I have imposed as a maximum size for my game. I would like to add more levels to the game but the only way I can do that Is to make the jar smaller... Oh yeah I have made the decision to NOT have it download any data (maps, etc...) over the internet as well.
I have heard about using preprocessors to get rid of statics and that would make it smaller... Any thoughts, suggestions? Sun one studio 5 ME doesn't seem to support preprocessing... is there any free or cheap IDE that does?
Did you know?Explore Trending and Topic pages for more stories like this.
Do any obfuscators do a significantly better job at reducing size than the retroguard one does?
I've tried to eliminate any common code amongst classes and put it in static functions that get called from many places...
I'm wondering about using shorts internally instead of ints... at first I was going with shorts thinking it would be a size savings, but now I'm thinking that all the conversions to ints and back are probably a size loss... anyone know the empirical answer?
If you have any tips to reduce jar size, please respond :)
No comments posted yet
Your Answer:
Login to answer
87
40
Other forums
Auto install
Hi I have a directory lets say "apps" that I then have more folders ie "email",
Operating System
How in PHP or other language can I detect Operating system, ie Windows XP Home, Windows 7 Ultimate,
Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require
Storing/displaying image urls in a database?
Hi
Basically I have the following scenario:
User chooses picture from list. Picture info is ad
upload only text files
hi guys i want to upload only text like like (pdf,note pad and ofiice files) so can any one please t
for loop without same $i digits?
Hi,
Can some guru please advise how can I accomplish this with a simple for loop ?
I
Character increment
Hi,
I am facing a scenario like above,but in my case i want to show up like Col A,Col B etc..
I didnt code this but I need help with it
I'm sorry. i'm not a coder. I have this script for forcing download and previewing mp3. The guy that
Parse error: parse error in C:wampwwwlogspagesmembers.php on line 16
I dont see the problem with this, I always get Parse error: parse error in C:wampwwwlogspagesme
Am i doing this wrong?
Im pulling from an Oracle database some info... one of which is a field count_pnums which is a NUMBE