Forgot? | Register
Hot Themes By Elecite
Columbus Day Sale

FAQ: How To Install A .COD File OTA (Over The Air)

Have you ever gotten the dreaded error: “No additional applications designed for your device were found” even when you know that the application is designed for your device? I ran into this same exact issue and I have finally come up with a work around. The steps take a little finesse but they get the job done.

When I was searching I noticed that most people focus on the problem of converting JAR and JAD files to COD files but not the other way around. So I decided to reverse engineer a .JAD file so that I could install my .COD file OTA.

NOTE: There are two requirements for such a solution. 1) You need to have a website where you can upload the .COD and .JAD files to. 2) You need to be able to change MIME types or be able to upload a .htaccess file to the same directory. About 99% of web hosting companies will allow you to do both of these requirements so I will leave it at that. If you need help with the mime types send me an email using the contact us link at the top of the page. I have included sample .htaccess files and .Jar files below for your convenience.

Difficulty: Intermediate BlackBerry users should be able to follow the directions below. This will make no sense to a newbie but if you email us we can try to help.

Steps by step directions:

  1. Find the .cod file you wish to install. You can install multiple ones if the application has more than one so don’t worry
  2. Create a text file in that directory (or use the sample supplied below) and copy the following text but replace the brackets and text inside them with your own info. The main thing you have to change is to put the name of the .cod file in the place where it says RIM-COD-URL. If there are multiple COD files just put each one on a separate line.
    • MIDlet-Name: [Whatever name you wish]
      MIDlet-Version: 3.8
      MIDlet-Vendor: [Whatever vendor name you wish]
      RIM-COD-URL: com_plazmic_theme.cod
      RIM-COD-Size: [just put any 5 or 6 digit number]
  3. You then have to rename the text file to ANYNAME.jad (NOTE you may need to change a setting in windows file explorer to be able to change the extension of a file)
  4. You then need to upload both files to a website you can access on your BlackBerry. You will also need to upload the .htaccess file below.
  5. You then browse to the web address of the .jad file and you will get the installation screen

Sample .htaccess file (Right click and select “save as”) to get the correct mime types. Just rename the file from 1.htaccess.txt to just plain .htaccess when you upload it.

Sample .jad file (Right click and select “save as”) Just change the information like I mentioned above and remove the .txt extension

Feel free to email us any questions using the contact us link at the top of the page 

This entry was posted on Monday, December 10th, 2007 and is filed under BlackBerry FAQ, News, Utilities.

Tagged with: Tags: , ,

If you enjoyed this article, make sure you subscribe to our RSS Feed to stay on top of the latest BlackBerry news you can use.

You can follow any responses to this entry through the Comments Feed. Leave A Trackback..


Previous Post: BerryReview Mobile Editon Redesigned!!! »
Next Post: Free BerryReview Today Theme For BlackBerry 8100 & 8800 »
Related Reading:

Latest Posts:

25 Responses to “FAQ: How To Install A .COD File OTA (Over The Air)

  • 1
    Stefano
    December 10th, 2007 18:21

    Souns good man! It’s your gift for your birthday? =)

  • 2
    Ronen Halevy
    December 11th, 2007 11:12

    Gotta love b-day gifts :)

  • 3
    clonecase
    December 15th, 2007 01:54

    the following is from RIM Documents:

    Users can only download .jar files if they access the network using the BlackBerry Enterprise Server (not a
    WAP gateway) and if Mobile Data Service is enabled. If using a WAP gateway, users must download a .cod file,
    unless a similar transcoder is implemented.

    so if using BES+MDS, we have to download .jar files?

  • 4
    BlackBerry Pearl 8130 Vodafone Today Theme OTA at electric relaxation
    December 16th, 2007 23:43

    [...] the .cod file to a web server, and follow these instructions to create a .jad file to wrap the .cod for OTA [...]

  • 5
    Ronen Halevy
    December 17th, 2007 17:17

    I am not sure what you are referring to Clonecase. Mind including a link? It works just fine on both my BES and BIS BB’s

  • 6
    KioskGuy
    January 17th, 2008 17:59

    My app asks for mime types such as image/cis-cod if I try to download the COD from a web server with the htaccess file. If I download the JAD i get “Unsupported media type: application/octet-stream”

    Any thoughts? Looks like it needs a couple more entries into the htaccess file for mime types. But I’m not sure.

  • 7
    Ronen Halevy
    January 18th, 2008 11:23

    There are only those 4 entries I put in the .txt file above. Did you make sure to rename the “htaccess.txt” file to just plain “.htaccess” once you uploaded it?

  • 8
    KioskGuy
    January 21st, 2008 20:55

    Yes, I renamed it properly. IIS 5 web server.

  • 9
    Ronen Halevy
    January 21st, 2008 21:23

    OOOOOH. Honestly I have never used IIS professionally. I do not think these instructions work with IIS because you have to set you MIME types differently.
    You may want to borrow a bit from the instructions
    http://blog.crowe.co.nz/archive/2007/07/08/Blackberry-MIME-Types.aspx

  • 10
    Brett Mark
    January 28th, 2008 16:37

    Guys… trying a few things - but still no go.

    On linux server - BB gets jad ok - then errors with COD not found or 907 invalid COD [500 internal server error]

    Any other good guide that might help.. it REALLY should not be this difficult to deliver a OTA solution for BB

    Help.
    BM

  • 11
    Ronen
    January 28th, 2008 17:34

    Did you setup the .JAD file correctly? It needs to point to the correct .cod file. I ran into that a couple of times. Especially when editing the .jad file with Word which adds a bunch of characters to the file that will make it not work. Use textpad

  • 12
    Brett Mark
    January 29th, 2008 11:17

    Hi all,

    Resolved this early AM this morning.

    1. ensure MIME types are installed and correct
    2. compile application with BB JDE [make sure version matches BB OS...]
    3. Certify using keys from BB [i use protected API]
    4. Isolate JAD / COD file. Rename COD to *.ZIP
    5. Open and extract COD files from *.zip. DO NOT RENAME ANY FILES
    6. Copy JAD [untouched] and ZIP to server in same folder
    7. Send URL link for JAD file to BB via SMS or email
    8. download and enjoy.

    I was using bog standard Linux server running Apache.

    This worked for me. Hope it helps.
    BM

  • 13
    Ronen Halevy
    January 29th, 2008 13:01

    Glad to hear things worked out for your Mark. Can I ask what you are developing?

  • 14
    KioskGuy
    January 29th, 2008 14:12

    Thanks Brett Mark!
    We’re wrapping up development and will be deploying OTA soon, this should help my team. We’re developing a lead generation tool for mobile marketing teams, that sends leads to a web service we built.

  • 15
    Brett Mark
    January 30th, 2008 10:54

    We have developed a mobile conferencing application that runs on all platforms natively. The sad thing is.. BB caused us the most trouble but looks great.

    Anyway - after spending so much time searching for this without success, I wanted to ease the passage of others.

    Enjoy!

  • 16
    Ronen Halevy
    January 30th, 2008 12:05

    Glad to hear things are working out Mark. Let me know when the app is ready for release

  • 17
    Venkatesh Madduri
    February 13th, 2008 17:23

    Here is my jad file:

    Manifest-Version: 1.0
    MIDlet-Version: 0.0
    MIDlet-Jar-Size: 27515
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Jar-URL: MortCalc.jar
    RIM-MIDlet-Icon-1-1: images.png
    RIM-COD-Module-Dependencies: net_rim_cldc
    RIM-MIDlet-Flags-1: 0
    RIM-COD-Module-Name: MortCalc
    MIDlet-Name: MortCalc
    RIM-COD-Size: 15336
    RIM-COD-Creation-Time: 1202939277
    MIDlet-1: ,ChaseLogo1.png,
    RIM-COD-URL: MortCalc.cod
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Vendor: XXXX
    RIM-MIDlet-Icon-Count-1: 1

    I am using ASP.NET and IIS and I added all the MIME types that are suggested here in IIS. Still I am getting the error “907 Invalid Cod”.

    Please suggest rectification.

    Thanks

    Venkatesh

  • 18
    piero
    February 17th, 2008 09:07

    hi,
    create a jad file, then

    4. Isolate JAD / COD file. Rename COD to *.ZIP
    5. Open and extract COD files from *.zip. DO NOT RENAME ANY FILES. Repeat for each original cod file.
    6. Copy JAD [untouched] and ZIP files to server in same folder
    7. Send URL link for JAD file to BB via email
    8. download and enjoy.

  • 19
    Steve
    May 13th, 2008 20:54

    I’ve been scouring the net for a solution to this 907 error.

    I have 2 BB’s but the OTA install from the same website only works on one of them.

    8700 - I get the 907 error
    8830 - It works

    I was able to install Google Mobile Map on both of them without problems.

    Any ideas?

    Thanks
    -Steve

  • 20
    boxafella.com/blog » Blog Archive » Superman Theme for 8130
    May 29th, 2008 22:38

    [...] for a theme suitable for my phone… He, has created one just for me. With a bit of help from this site, I was able to make it available OTA, as I can’t find my damned USB… Anyways - if you [...]

  • 21
    Sreddle
    July 8th, 2008 18:47

    Any idea if this also works with a webserver running on Win XP and Xitami? The .htaccess part is not applicable then, so how to configure my wintel webserver for OTA installation?

  • 22
    Ronen Halevy
    July 8th, 2008 19:30

    You just need to set the correct Mime types. Just search on how to set mime types in Xitami

  • 23
    Sreddle
    July 9th, 2008 17:50

    I set the MIME types in the xitami.cfg file. In the webserver logs it doesn’t report any errors. However when I click the .jad file my BB browser replies ‘Unsupported media type */*’. It actually gives the same message when I try to download a .xls on my blackberry.

    Could this because of wrong file associations in my BB device? It doesn’t make sense as I can succesfully download and install this .jad file on a other server:
    http://www.marketfilters.com/widgets/v2/MarketFilters.jad

    Any suggestions? Maybe a dummy .jad and .cod would help for testing purposes (the DOS or Unix mode when saving the edited .jad might be corrupting the .jad file?)

  • 24
    Sreddle
    July 9th, 2008 18:06

    I got it. It was indeed the mode causing the .jad file not being recognized. I’ve put a working .jad and .cod on my own Xitami webserver and these worked fine! Thanks for your help!

  • 25
    Steve
    July 10th, 2008 11:28

    For me it wasn’t a MIME problem. The 907 error was caused by JDE compiler incompatibilities. JDE 4.3 compiled working code for the 8830 only, and gave me a 907 on the 8700. JDE 4.1 compiled working code for both models.

Subscribe without commenting

Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.

FYI: Links will automatically be hyperlinked so there is no need to use HTML