Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
dinakel
Posts: 23
Registered: ‎03-30-2011
My Carrier: none - simulator only

Maximum midlet size to install

HI,

 

We provide our application as a midlet for older BB devices (< OS 5). The application is larger than 256 KB. Now if a user tries to download it, he gets 413 Entity too large. I know, the BES setting "Maximum KB/Connection" can be set to a higher value, but we must tell this every customer. Is there any chance to somehow split the midlet or another solution to get around the 256 KB limit?

 

Thanks

Dinakel

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Maximum midlet size to install

There is a solution, and it's right here:

 

The file size limit for wireless downloads

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Contributor
dinakel
Posts: 23
Registered: ‎03-30-2011
My Carrier: none - simulator only

Re: Maximum midlet size to install

I don't see how this article solves my problem with installing a java MIDLET which exceeds the maximum size. I have a jar and a jad file not a COD file. And I see no chance in splitting the jar.

Please use plain text.
Developer
pradeep_ch
Posts: 540
Registered: ‎12-23-2010
My Carrier: Airtel

Re: Maximum midlet size to install

How and in which environment you are making the build?.

Because afaik COD file is must to install the app.

 

 

Thanks.

Please use plain text.
Contributor
dinakel
Posts: 23
Registered: ‎03-30-2011
My Carrier: none - simulator only

Re: Maximum midlet size to install

It is done in Eclipse via Maven.

For old BB devices we provide a java midlet, which we also provide for JavaME devices. BB devices run normal midlets, you don't need a cod file.The project we build is not a BB project, but a standard javaME project. The BB SDK isn't even installed on the machine.

For more recent BB devices (OS 5+) we also provide a BB app (COD file), and the article above probably works in that case. But I need a solution for midlets.

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Maximum midlet size to install

You can compile MIDlets into COD files and that will resolve this issue.  The device can convert a JAR file into a COD file once downloaded, but it appears that this JAR file is too large.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.