| Reply | « Previous Thread | Next Thread » |
|
Hello,
My resources total about 310K, some images, but mostly data. The code compiled is about 100 or so KB. The jar takes ages to load on the mobile (N95). What is the best practice in this case? Get the user to be patient...or get them to copy the resource file to a directory on the device.... Since the application is targeted to your average Joe, I would like comments what would be be suitable... Thank-you cellnite |
|
Hmmm could you be more spcific in here?
How long is "ages"? What do you mean by "load" (downloading, starting the app, what?) Hartti |
|
The jar file, after running it through proguard, and kjar has a size of 402KB. Upon clicking the icon in the Applications menu on the N95, it takes 9 seconds for the first screen to load (splash screen). Before the splash screen is shown i load 6 png files of which the largest one is 370 bytes.
I would think part of the 9secs is the phone loading the jar into memory, and by reducing its size, the load would be faster. Cause it seems to a user, that when you click on an icon, nothing happens. thanks c |
|
Gotcha.
There is some delay in opening a MIDlet, when you compare it to native apps. But here I talk about up to 1 second max. Would it be possible for you to first show the splashscreen and when the splash is shown, load the other png files? Now it seems that you are doing something time consuming before you are displaying anything... Hartti |
|
Yes:) ..i moved them to after the splash screen is loaded once i sent the forum email. I saved about a second from the loading time. So, the question remains is the size of the jar file, related to loading time...and if so...how "smart" is the user these days. Are they capable of moving files to other directories etc...or do i take the risk and let them wonder if something has happened once clicking the icon.
thanks for your discussion, c |
|
so you are now down to 8 seconds?
Something is not right here, what else are you doing before showing the splash screen? Hartti |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| S60 2nd edition FP3 SDK reports error in jar file entry | iwmonkey | Mobile Java Tools & SDKs | 11 | 2008-05-23 22:14 |
| extracting midlet jar file | sumanbera | Mobile Java General | 20 | 2007-09-29 09:34 |
| Help needed with a 3gp file... | joedoe_1981 | Streaming and Video | 0 | 2007-07-18 19:58 |
| N80 Jar File limitation | thunder7553 | General Discussion | 2 | 2006-09-29 03:35 |
| can we get the source file from jar file.. | bb_sathya | Mobile Java General | 6 | 2005-12-28 14:14 |