.htaccess mime type for .jar .jad .cod files for over-the-air Blackberry installs

This is mostly self documentation.  If you find this useful then great!

To install a Blackberry app over-the-air you will need these mime types in your .htaccess file.  Or if you are using IIS you will need to use the IIS Management snapin to add them.

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod

And, upload the “deliverables\Web\X.0.0″ files not the “deliverables\Standard\X.0.0″ files.  Not sure why/how/what but I kept getting the dreaded 907 invalid cod error message otherwise.

Cheers!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 272 other followers