Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > midlet jar size limitation on mobile phone

Reply
Thread Tools

midlet jar size limitation on mobile phone

 
 
John
Guest
Posts: n/a
 
      12-22-2004
Is there any file size limit on the j2me midlet jar size? It seems that
some Nokia phones have 100k jar size limit. I have made a program which
contains many graphics in it, and it is over 100k. It is not mentioned
on Motorola or Samsung phones.

John
 
Reply With Quote
 
 
 
 
Freeman
Guest
Posts: n/a
 
      12-22-2004
John wrote:
> Is there any file size limit on the j2me midlet jar size? It seems that
> some Nokia phones have 100k jar size limit. I have made a program which
> contains many graphics in it, and it is over 100k. It is not mentioned
> on Motorola or Samsung phones.
>
> John


There is no jar size limitation on Motorola phones. You can put a large
size midlet to it, as long as the java storage is not full. However, you
need to know:

1. Some phones have bug or limitation on download wap gateway. If it is
over 100k, it may need to swap SAR and Range download method. If it is
too slow or fail to download, you can only use cable to install the jar.

2. When download, the actual size require may larger than the jar file
size. This is due to decompress of jar into class and resource files for
storage.

Try to keep it small for mobile phone device.

Freeman
www.mobilefunland.com
 
Reply With Quote
 
 
 
 
cyberco
Guest
Posts: n/a
 
      12-23-2004
Limitations are set by both the phone manufacturer and the network
operator. So you'll have to figure out what you're targeting... I
realize how annoying this can be A rule of thumb would be to keep
jars below 100Kb. (NTT Docomo used to have a limit of 30Kb, btw. You
would be amazed what types of games people can create within 30Kb. All
of the NAMCO games for instance). One trick you could pull is download
the media files (images, sound) after the MIDlet is installed and store
them on the scratchpad.

 
Reply With Quote
 
Darryl L. Pierce
Guest
Posts: n/a
 
      12-23-2004
John wrote:
> Is there any file size limit on the j2me midlet jar size?


Not a consistent one, no. Some phones could only handle up to 64k.
Recently (about a year ago) Sprint upped their size limitation from 64k
to 100k. My Motorola V400 can handle larger-than-100k JARs when
installed via datacable but now downloading OTA.

> It seems that
> some Nokia phones have 100k jar size limit. I have made a program which
> contains many graphics in it, and it is over 100k. It is not mentioned
> on Motorola or Samsung phones.


If you're using graphics that *don't* require transparency then you'll
be better served to convert them to JPG and use that (assuming you're
now using PNGs which are huge).

--
Darryl L. Pierce <>
Visit my webpage: <http://mcpierce.multiply.com>
"By doubting we come to inquiry, through inquiry truth."
- Peter Abelard
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C++ 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com Java 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57