05-07-2012 08:16 AM
I excluded the .svn files from my src&res.
I have an App when Im trying to make build in 5.0 the cod size shown me 7.6 MB
Same App when Im trying to make build in 6.0 the cod size shown me 7.6 MB
But in 7.0 the size shown only 5.11 MB
Why this type of different cod file sizes are happening for the same App.
Any way we want less cod size but with 5.0 how its possible to get the minimum size.
05-07-2012 08:26 AM
05-07-2012 09:37 AM
05-07-2012 11:31 AM - edited 05-07-2012 04:02 PM
Like SImon I would expect a difference in the size of the cods produced in various OS's, but not to that extent. As Simon also suggested, look at the generated jar using your favorite Zip tool, unzip it, and then compare the sizes of the various components. What makes up the extra Megabytes in the OS 5.0 app?
05-08-2012 06:29 AM
Yes peter and simon,
I have compared the two jar file contents and I found some difference between image sizes.
Here the images are same but while packing why those are getting different sizes.
And what is the solution for getting minimum size cod file in OS 5.0 also?
Thanks in advance.
05-08-2012 06:33 AM
05-08-2012 06:47 AM
05-08-2012 07:21 AM
My understanding is that in OS 5.0 and before there is advantage in terms of BlackBerry processing, in using png files, even if they are bigger. In OS 6.0 and OS 7.0 there is no advantage, and in fact in OS 7.0, jpgs are more efficient. So if your are creating one build then stick with png files. If you are doing multiple builds, then for the later OS's use the smaller file size.
Hope this helps.
05-08-2012 08:18 AM
05-08-2012 09:31 AM
OK I need clarification. Let us concentrate only on the OS 7.0 Build and the OS 5.0 Build.
What you seem to be saying is that the jar for the OS 7.0 build is smaller than the OS 5.0 build because some png files are a different size, specifically the OS 7.0 files are smaller.
Please confirm that is the situation.
If so, then two questions:
a) Why is your OS 7.0 Build using smaller png files?
b) Why can't you use these png files in your OS 5.0 Build?
Can you perhaps attach an example of the same png from OS 7.0 jar and from OS 5.0 jar?