content-type for BlackBerry OTA installation
For BlackBerry OTA installation what content-type should开发者_如何学JAVA be used for jad and cod files?
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.
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
精彩评论