BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-19-2007, 07:57 AM   #1 (permalink)
vph
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default multiple CODs

Please Login to Remove!

My app has two separate modules, the main application and the library. To be able to run it, I have to download the library and then the application via two separate URLs.

Is it possible to download these two by using just one URL ?

Thanks,

--vph
Offline  
Old 12-19-2007, 04:58 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
richard.puckett's Avatar
 
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
PIN: N/A
Carrier: T-Mobile
Posts: 212
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I created a simple "jadmerge" utility that has worked for my needs so far. Feel free to try it out if you want. Made a quickie webpage for it here

For anyone who *does* use it, feel free to provide feedback, especially if you have problems with it. Like I said, it works for me, but it hasn't been rigorously tested.
Offline  
Old 12-19-2007, 05:23 PM   #3 (permalink)
Thumbs Must Hurt
 
Spartan115's Avatar
 
Join Date: Aug 2007
Model: Pearl
PIN: N/A
Carrier: T-Mobile
Posts: 80
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Reply

Just add another File descriptor into your .JAD file. If you look at the XML of the JAD file you will see what I am talking about. The jadmerge works well to though
Offline  
Old 12-19-2007, 08:41 PM   #4 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by vph View Post
My app has two separate modules, the main application and the library. To be able to run it, I have to download the library and then the application via two separate URLs.

Is it possible to download these two by using just one URL ?

Thanks,

--vph
Yep. I have done it before. I've made 800K OTA installs involving three large .cod files, by unzipping the .cod's (rename .cod to .zip then unzip all embedded .cod files). Three large .cod's became, say, about 10+ smaller .cod files this way, and I created a custom .jad file that downloads all 10+ .cod files one by one, bypassing file size restrictions AND also downloading multiple libraries too... So that they download properly, even if BES has a file size download limit smaller, and also even works on older BlackBerries (OS 4.0 based)

For manually creating .jad files that reference multiple .cod files, this is helpful:
http://www.handango.com/marketing/de...Deployment.pdf

This instructions can be adapted for download of multiple-.cod installs, including libraries, etc. (Hint: Option #1 and Option #2 are combineable to create an unlisted Option #3, if libraries are all big.)
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 12-20-2007, 08:31 AM   #5 (permalink)
vph
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Richard, Spartan, Mark,

Thank you very much for your replies. Yes, it is working now.

--vph
Offline  
Closed Thread


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

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





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.