BlackBerryThu, January 1, 1970 12:33amURL:Embed:Tap your smartphone against another NFC enabled BlackBerry® device to add a BBM™ contact, swap a photo, discover apps or even connect to a headset. Just choo…
-
Picture Editor: BlackBerry Q5 – Official How...
BlackBerryThu, January 1, 1970 12:33amURL:Embed:Use advanced features to edit your pictures and save the revised version on your BlackBerry® Q5 smartphone.
-
Browser Basics: BlackBerry Q5 – Official How...
BlackBerryThu, January 1, 1970 12:33amURL:Embed:Discover a BlackBerry® Browser with speed, simplicity, powerful page rendering and built-in sharing to your favorite social networks. Found something you wan…
-
BlackBerry Remember: BlackBerry Q5 – Official...
BlackBerryThu, January 1, 1970 12:33amURL:Embed:Group relevant photos, lists, messages and web links into one place with BlackBerry® Remember — then sync tasks with your Microsoft® Outlook® calendar. Plus…
-
Account Setup: BlackBerry Q5 – Official How To...
BlackBerryThu, January 1, 1970 12:33amURL:Embed:Add your email and social accounts to your BlackBerry® Q5 and find out how to sync them.
Howto: Setup an Apache Webserver to deliver BlackBerry OTA Applications
By k | July 8th, 2008 | 17 Comments »![]()
Note: IIS users / administrators might want to check out Howto: Setup a Microsoft IIS Webserver to deliver BlackBerry OTA Applications.
Setting up OTA downloads for the BlackBerry is pretty easy. Technically this is done by uploading your program’s files to a web server and storing it there in a directory that is accessible from the web.
The most famous free web server that powers the Internet is called Apache from the Apache HTTP Server Project. It is available for many platforms including the most common Windows (all versions), Linux, *BSD, Solaris, Mac OS X, and even more. All information you need to install the Apache web server you can find over here. Check out the complete documentation for more.
Let’s say your server is called http://www.blackberryinsight.com and you want to place your BlackBerry application called BBCalls directly on that domain you would get an OTA download link like www.yourdomain.com/bbcalls.jad.
Therefor, you first need to upload your OTA program files to your web server. Technically this are two files for each application; in our case this would be:
- bbcalls.jad: JAD = Java Application Descriptor; a text file that describes your application.
- bbcalls.cod: the actual program file; in binary format which can only be executed by the BlackBerry.
Once you uploaded those two files to your web server (e.g. via FTP) you should be able to access them via the following URLs:
www.yourdomain.com/ bbcalls.jadwww.yourdomain.com/ bbcalls.cod
You will still not be able to access those URLs from your BlackBerry and install the application. Your web server needs to know more about the content of those files. This is called “Mime Type” and has actually been created for emails many years ago. Anyway, the mime type setting is important as the web server will then understand which content this is, so it knows how to deliver those files to your BlackBerry browser. The web server is also telling the BlackBerry browser which kind of mime type will come in the file you want to download. This helps your BlackBerry browser to determine what to do with the data that will be downloaded. For example: an .html file will be shown in the browser, a .jpg file will be downloaded to your “Pictures” directory, a .avi file will be downloaded to your “Videos” directory, and a .jad file will tell the browser to install a new application.

The easiest way to set up the mime type for our two file types (.jad and .cod; see above) can be done in a file called .htaccess. This is basically just a normal text file which can be created or edited in any kind of text editor like Notepad of your desktop Windows. Here is an example of a simple .htaccess file:
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/vnd.rim.cod .cod
This is all you need. Now just upload your .htaccess file to the same directory where you placed your .jad and .cod files at.
You should now be able to install your application via the above mentioned OTA download link diretly with your BlackBerry browser.
In case it doesn’t work: It is important that your web server allows directory based overrides. So the Apache must have been set to “Allowoverride All” for example. For more detailed information on how to set up an .htaccess file please refer to Apache Tutorial: .htaccess files.
For advanced web server admins: You can also set this up in your web server’s main configuration file. In most cases (if you are on a shared hosting plan for example) you do not have access to this file. In case you have access and want to change the mime type setting for your server globally you need to change the main configuration file (mostly called apache2.conf or httpd.conf). for more on this topic please click here.
Looking for Software for your BlackBerry? BlackBerryInsight Software Store!
-
http://apache.morelyrics.co.uk/2008/07/07/howto-setup-an-apache-webserver-to-deliver-blackberry-ota-applications/ » Howto: Setup an Apache Webserver to deliver BlackBerry OTA Applications Apache: What The World Is Saying About Apache
-
http://apache.morelyrics.co.uk/2008/07/07/howto-setup-an-apache-webserver-to-deliver-blackberry-ota-3/ » Howto: Setup an Apache Webserver to deliver BlackBerry OTA Apache: What The World Is Saying About Apache
-
http://www.blackberryinsight.com/2008/07/14/howto-setup-a-microsoft-iis-webserver-to-deliver-blackberry-ota-applications/ Howto: Setup a Microsoft IIS Webserver to deliver BlackBerry OTA Applications | BlackBerryInsight
-
http://www.blackberryforums.com/developer-forum/141480-help-ota-install-file.html#post1028651 Help with OTA install file. – BlackBerryForums.com : Your Number One BlackBerry Community
-
http://www.bbapps.net Jamie
-
http://forums.crackberry.com/f131/my-first-theme-161473/#post1694669 My first theme. – BlackBerry Forums at CrackBerry.com
-
http://golftraxx.com/blackberry/curve/golftraxx.jad Frank DeBenedetti
-
http://www.mjs1.com/2009/05/28/creating-your-first-blackberry-application-using-the-java-api/ Creating your first Blackberry Application using the Java API « MJS1|dotcom
-
http://royalfacebook.com wael
-
Edward
-
http://www.blackberryinsight.com/ k
-
Edward
-
http://www.blackberryinsight.com/ k
-
Edward
-
Krystal
-
http://adminsgoodies.com/how-to-download-jad-file-and-its-related-cod-file-on-bb-client/ how to download .jad File and its related .cod File on bb Client – Admins Goodies
-
http://www.vbhispano.com/foros/f35/como_crear_enlace_ota_desde_servidor_apache-27313/#post126829 Como crear un enlace OTA desde un servidor Apache
Read other articles from today
Back to homepage

