You can get an application to your BlackBerry in four different ways.
- (OTA -Over The Air) Host the application files on a web server and browse to them from the phone
- put the application files onto a SD card and load it on the device
- load the application onto the phone using the BlackBerry Desktop Manager
- push the application to the phone using the BES
There are three different types of files that you will use to install the application on your phone.
You will need one or the other depending on the deployment metheod you are going with. These files hold the information on how to install the application on your phone what files are going to be needed to do that.
jad – used for OTA on on device deployment
alx – used for BES and Desktop Manager deployment
The content files.
cod – This holds the compiled java code that makes the application run.
Hosting files in IIS for OTA deployment
Hosting a BlackBerry for deployment in IIS is actually pretty easy. Here are the steps:
- Set the folder with the jad and cod files to be a webshared folder
- open up the IIS manager ( inetmgr from command prompt)
- Go into the properties for the webshare folder you created (right click on the gear looking icon next to the webshare you created and select properties)
- click on the HTTP Headers tab
- click on the MIME types button near the bottom
- click new and enter in these values:
- Extension: jad
MIME type: text/vnd.sun.j2me.app-descriptor
- do the same for these values:
- Extension: cod
MIME type: application/vnd.rim.cod
- click OK until all of the properties dialogs are closed
- reset IIS ( iisreset from command prompt)
- browse to the .jad file from your phone and you will see the download and install dialog