BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-07-2005, 04:25 PM   #1
mmell
New Member
 
Join Date: Mar 2005
Posts: 14
Default 7290 Loads One of Two CODs

Please Login to Remove!

I"m wondering if anyone else has had a similar problem. I have a workaround but maybe there's a better solution.

This is part of an OTA download (using the app loader i can see both files explicitly and it works).

The application I wrote calls an open source bit of code I downloaded. The workspace has both defined as projects, it builds both, creates two .jad and .cod files, and sticks two definitions into an .ALX.

I copy the .cods, .jads, and alx into an OTA library and it works. Until I get to the 7290's. For some reason it only downloads one of two, but gives no errors. When one calls the second and finds it missing poof!

To get around this I:

1. Modified the .ALX to include both .cods under the same <file> definition. So instead of two 'application' definitions i now have one with both .cod's under <files> of that one. I'm not sure this mattered
2. Modified the primary .jad file, the one that WAS loading. WHere it said: RIM-COD-URL: xxx.JAD I created two entries: RIM-COD-URL-1: xxx.jad and RIM-COD-URL-2: yyy.jad.

This seems to work and works for all handhelds. I'm wondering if anyone knows a better way?
Offline  
Old 04-07-2005, 06:26 PM   #2
DoomBringer
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Default

Quote:
Originally Posted by mmell
I"m wondering if anyone else has had a similar problem. I have a workaround but maybe there's a better solution.

This is part of an OTA download (using the app loader i can see both files explicitly and it works).

The application I wrote calls an open source bit of code I downloaded. The workspace has both defined as projects, it builds both, creates two .jad and .cod files, and sticks two definitions into an .ALX.

I copy the .cods, .jads, and alx into an OTA library and it works. Until I get to the 7290's. For some reason it only downloads one of two, but gives no errors. When one calls the second and finds it missing poof!

To get around this I:

1. Modified the .ALX to include both .cods under the same <file> definition. So instead of two 'application' definitions i now have one with both .cod's under <files> of that one. I'm not sure this mattered
2. Modified the primary .jad file, the one that WAS loading. WHere it said: RIM-COD-URL: xxx.JAD I created two entries: RIM-COD-URL-1: xxx.jad and RIM-COD-URL-2: yyy.jad.

This seems to work and works for all handhelds. I'm wondering if anyone knows a better way?
You have to manually hack the .jad file... the JDE isn't too bright when it comes to them. I just open up the secondary one jad file (the library or whatever), copy whatever relevant entries there are, and paste them into the main application's .jad file.
I have to do this with JDE3.7, are you using 4.0? I really wish that RIM would make the JDE do this very simple step for us devs...
Offline  
Old 04-13-2005, 05:03 PM   #3
mmell
New Member
 
Join Date: Mar 2005
Posts: 14
Default ya that's essentially what I did

manually hack the .jad. And yes I'm using 3.7. I can't get 4.0 to compile at all. RIM says to 'preverify' but I can't get that working and I've bent over backwards to get it to work (doing all the little things like pointing to the rim api and taking out all spaces in directory paths etc etc). So i'm sticking with 3.7 for now.
Offline  
Closed Thread



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

Forum Jump


 FANUC A16B-3200-0810 Motherboard picture

FANUC A16B-3200-0810 Motherboard

$5705.11



Fanuc Motherboard A16B-3200-0429/07B picture

Fanuc Motherboard A16B-3200-0429/07B

$640.54



Fanuc PC Wide Mini Motherboard EE-5770-010-002 A20B-8101-0350/02B picture

Fanuc PC Wide Mini Motherboard EE-5770-010-002 A20B-8101-0350/02B

$149.95



1PCS FANUC System Motherboard A20B-8100-0662 picture

1PCS FANUC System Motherboard A20B-8100-0662

$1697.00



Used & Tested IPC PCI-6870F Motherboard picture

Used & Tested IPC PCI-6870F Motherboard

$255.11



DSC PC1832 PowerSeries 8-32 Zone Alarm System Motherboard PC1832PCB Board Only picture

DSC PC1832 PowerSeries 8-32 Zone Alarm System Motherboard PC1832PCB Board Only

$199.99







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