问题
For BlackBerry OTA installation what content-type should be used for jad and cod files?
回答1:
From http://www.oracle.com/technetwork/systems/index-139239.html
the MIME types for .jad and .cod files, text/vnd.sun.j2me.app-descriptor and application/vnd.rim.cod respectively.
回答2:
Add the following to a .htaccess when using apache for your OTA deployment:
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/vnd.rim.cod .cod
AddType application/java-archive .jar
来源:https://stackoverflow.com/questions/4069261/content-type-for-blackberry-ota-installation