This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 20494

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: 17249

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 - Two Laptop Bag - Tube Organizer
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)
I agree. Here's the link:
subject: app shrinking tricks
Similar Threads
Source directory path missing
Debugging problem regarding Nuxeo using Eclipse
Development tools needed.
an advice about a book on UML and java needed
Where to begin with SEAM?