To serve out BlackBerry apps from your own web server, you'll need to configure the MIME types for jad
and cod
files on your server.
For Apache's HTTP server, I use these MIME type mappings in my httpd.conf file:
AddType application/vnd.rim.cod cod
AddType text/vnd.sun.j2me.app-descriptor jad
To configure the .jad and .cod file MIME types in IIS, refer to this document. The idea is the same, though. You need to associate text/vnd.sun.j2me.app-descriptor
with the .jad file extension (and so on, for the .cod file extension).