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.

inside custom component

Java Development

Reply
New Contributor
Posts: 7
Registered: ‎07-11-2011
My Device: 9700
My Carrier: T-MOb
Accepted Solution

How to reduce the number of COD files generated

Hi,

 

Im a noob to bb development. Im currently using Java eclipse plugin to generate/sign the COD files.

Though they work fine on the device, I could see that quite a number of cod files are generated -  around 16 cod files along with the Jad & Jar. 

 

Is there a way to reduce their count since most of the BB apps I have seen don't generate more than 1-2 cod files. 

 

Thanks,

Ravi

Developer
Posts: 16,842
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to reduce the number of COD files generated

each cod file contains up to 64kb (plus some optional extra). if your compiled software is 2MB, for example, you have 33 sub-cods.

sometimes the cod is larger than needed if the wrong filetypes are added, for example svn or cvs files. you can open the jar file and check if only the needed files are in it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
New Contributor
Posts: 7
Registered: ‎07-11-2011
My Device: 9700
My Carrier: T-MOb

Re: How to reduce the number of COD files generated

Thanks a ton ... It indeed was using the svn backup files !!