The moose likes Java Micro Edition and the fly likes app shrinking tricks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "app shrinking tricks" Watch "app shrinking tricks" New topic

app shrinking tricks

paul wheaton

Joined: Dec 14, 1998
Posts: 20914

In 1999 I remember there were heaps of tools that could take an app complete with all of its jar files and carve out all of the unused bytecode. This was great for applets.

Now, I can see the value of doing something similar for trying to move something quickly to JME.

Are these kinds of tools still around?

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Are you talking about an obfuscator which "zips" the Midlet's jar file? Yes, there are obfuscators out there for that.

Like this one

Or do you mean taking a J2SE program and automatically turning it into a J2ME program? That I have not seen considering that they are two different specs, and apis.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Deepan Devadasan
Ranch Hand

Joined: Jan 25, 2007
Posts: 226
Mark is correct...

you can use obfuscators....

But you gotta also understand the consequences it can create based on the level you are looking at...

E.g. Less readability

Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
It is sorta covered in the JavaRanch Style Guide.
subject: app shrinking tricks
It's not a secret anymore!