×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2004
    Location
    Poland
    Posts
    49

    (series 40) > 64 k warning but jar is just 63.3 ?

    My midlet of 64 850 jar size (jad 160 bytes) generates on 7210 emulator "Jar file is too large to run on actual phone" message. It is just 63.3 kB -within limit.
    I compared another midlet which is 63.6 and runs fine without such message.
    Do you have any idea why?
    Some clue might be that the first is 120 kB size unpacked , the later 90 kB, but why would this matter?

  2. #2
    Regular Contributor
    Join Date
    Jan 2005
    Location
    France, Paris
    Posts
    56
    Then the problem may come from the value of the MIDlet-Data-Size attribute, if you use it in your jad file. The value cannot be more than the max RMS size.

  3. #3
    Registered User
    Join Date
    Jan 2004
    Location
    Poland
    Posts
    49
    No, I don't use it.
    I found out that the "too large" warning disappears when jar size gets below 62.5 kB. Unfortunately all is just already as squeezed and optimized as I could manage and I really need almost all of 64 kB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×