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


Lot of 10 Samsung iDCS 28D Business Telephones with Stands markystore picture

Lot of 10 Samsung iDCS 28D Business Telephones with Stands markystore

$150.00



Samsung, PT212ATP, Integrated Circuit, New, Lot of 13 picture

Samsung, PT212ATP, Integrated Circuit, New, Lot of 13

$195.00



1pc used   Samsung UA55HU8500J Power Board BN44-00742A L55G4P-EHS picture

1pc used Samsung UA55HU8500J Power Board BN44-00742A L55G4P-EHS

$88.88



JC96-06732A Samsung MultiXpress CLX-9301NA Black Developer Unit New OEM Sealed picture

JC96-06732A Samsung MultiXpress CLX-9301NA Black Developer Unit New OEM Sealed

$199.99



Samsung HM70a Cart Board picture

Samsung HM70a Cart Board

$300.00



NEW Samsung LTM220MT12 LCD Screen picture

NEW Samsung LTM220MT12 LCD Screen

$134.29







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