BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-01-2008, 08:29 AM   #1 (permalink)
New Member
 
Join Date: Dec 2008
Model: 8310
PIN: N/A
Carrier: Dont Know
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent!!Downloading Cod file onto the device

Please Login to Remove!

Hi,

We are trying to test our application on the RIM phone by downloading it from one server using internet. So what we did , we kept our "Testclient.cod" , "TestClient.jar" & "TestClient.jad" file in
"Webapps\Root\Test_Client\RIM" folder.
But the problem is it is not recognising the "cod" file as while downloading it is coming as ".zip" file.

Please let me know how I can fix it.

Thanx
Offline  
Old 12-01-2008, 09:36 AM   #2 (permalink)
New Member
 
Join Date: May 2006
Location: Argentina
Model: 8100
Carrier: Movistar
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, can you provide us the JAD file?

Are you potining the borwser to that JAD file?
Offline  
Old 12-01-2008, 11:51 PM   #3 (permalink)
New Member
 
Join Date: Dec 2008
Model: 8310
PIN: N/A
Carrier: Dont Know
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Actually all I want to know is why is it so that downloading the cod file from the net on the device being recognised as a Zip file. It works well on the emulator though.
Offline  
Old 12-02-2008, 03:40 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

if you only want to know this, here is the explanation (DB-00432):
Quote:
If an application contains more than 64 KB of data in the application or data space, it is divided into multiple COD files known as sibling COD files. These sibling COD files are then packaged in a parent COD file that is a zip archive with the COD extension.
if you want to get it installed look what btafel said and see the cahpter about deploying in the JDE developer guide
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Offline  
Old 12-02-2008, 09:32 PM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 8800
PIN: N/A
Carrier: t-mobile
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You don't download .cod file, you need to download .jad file. .cod file is for desktop install
Offline  
Old 12-03-2008, 06:23 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Model: 8130
PIN: N/A
Carrier: US Cellular
Posts: 82
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have no idea if I'm doing this the "right" way or not, but it works for me. I rename the .COD file to .ZIP (on my local machine) and extract the individual .COD files to my server, along with the .JAD file. The URL for OTA install then simply points to the .JAD file.

I have set the proper MIME types, but I cannot just plop the main COD file onto my server and have it work with the JAD.
Offline  
Old 12-03-2008, 05:48 PM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2008
Model: 8830
PIN: N/A
Carrier: verizon
Posts: 82
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sounds like you need to configure the IIS mime types. Information here:

Deploying JAR/JAD file with IIS ? [Archive] - Developer Discussion Boards
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.