Lately, it was decided that the end device of a application I have been developing on J2ME for over a year was going to be a BlackBerry. Most directly, blackberry 8300 so i was asked to use the blackberry API and do the transition of the code to use it. I tested my application with J2ME on a BB and worked withouth a hassle, still, either I do what the boss said or I get fired



so i started adding the libraries and do what i has to be changed.
Once the compilation showed no more error (5 straight dyas of work. not that many examples and tips to use) it showed me that my once 118kb program jumped over to 5mb!!!!!!!
How can this be possible, fearing that this was bound to happen, i kept my import to the minimun, only importing what I was really using on each java source code. But still, it happened.
Any idea of a way to make my code smaller??
By the way, i'm working on the Java ME Platform SDK 3.0 early access. Bouth Eclipse and NetBeans had proven to be a mayor hassle to import my already wirtten code, specially the webservices part (i'm using KSOAP2, easy to implement and it handles .NET web services pretty nice.) and the plugin gave me a lot of problems while BB JDE always give me some kind of error when preverifying BB API code for some reason.