Hola, my midlet is quite big : 100K so when teh user open teh application its takes like 12 seconds before they can see the main menu. Also sometime when the application is running and teh user choose to save some data, its takes too long. So I would like to in both (when starting teh application and while is saving or loading values) to show a bar or a message saying to teh user "Please wait " or something like that. I guess I have to use a separate thread. Do some one has some example code that I could use?
Thanks a lot / Violeta
In the first case: you cannot do anything about the application beeing loaded. It just takes some time, and you cannot put anything on the screen to make it any more bearable ;). What you can do, it try to make your application more compact. try http://proguard.sourceforge.net/ . Works great for compacting, you even get obfuscation and it will make your software run a little faster.
In the seconds case: Make your own progress bar class, ther isn't one available (j2mepolish has one, but it is a complete gui framework, I don't you'll want to use that when you already have a 100 K application).
thanks a lot. I will have a look to that web page you told me. Anyway I dont think I can do my code smaller, I took care writting the code as efficience as possible, Its just that my application is a Data Base application with miles miles and miles of items on it hehe , thats why the midlet is so big
Thanks again/ Violeta