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


Ballast Box 3 Pt Hitch 800LBS Counterweight for Cat 1 Tractor Steel Heavy Duty picture

Ballast Box 3 Pt Hitch 800LBS Counterweight for Cat 1 Tractor Steel Heavy Duty

$189.99



4 Count Case GE ProLine 2 Bulb 120V T12 Electronic Fluorescent Light Ballasts picture

4 Count Case GE ProLine 2 Bulb 120V T12 Electronic Fluorescent Light Ballasts

$49.99



Accupro 703-00004-001  1 or 2 lamp T12 Rapid-Start Electronic Ballast  picture

Accupro 703-00004-001 1 or 2 lamp T12 Rapid-Start Electronic Ballast

$8.50



Universal Ballast 827-BR-TC-P Lot of 2 For T12 Bulbs Made in USA picture

Universal Ballast 827-BR-TC-P Lot of 2 For T12 Bulbs Made in USA

$30.00



Philips ADVANCE AmbiStar RELB-2S40-N Replacement Ballast 40-Watt 2-Lamp T12 picture

Philips ADVANCE AmbiStar RELB-2S40-N Replacement Ballast 40-Watt 2-Lamp T12

$18.79



Ballast Box 3 Point Category 1 Tractor Loader 2

Ballast Box 3 Point Category 1 Tractor Loader 2" Hitches Quick Tach Attachment

$199.99







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