开发者

Unsupported Media Type when deploying OTA Blackberry App

开发者 https://www.devze.com 2022-12-26 04:48 出处:网络
I have a blackberry app that I am trying to deploy OTA (over the air). I have set the MIME type on my server to be:

I have a blackberry app that I am trying to deploy OTA (over the air).

I have set the MIME type on my server to be:

cod  application/vnd.rim.cod

jad     text/vnd.sun.j2me.app-des开发者_StackOverflow社区criptor

jar     application/java-archive

When I access the JAD file on my web-server through the BlackBerry Browser, I get the message

Unsupported Media Type

and then a prompt to download the JAD. How can I resolve this?


Double checked MIME type settings and there was a typo. They have to be EXACT or there will be problems.


AddType application/vnd.rim.cod

AddType  text/vnd.sun.j2me.app-descriptor

AddType  application/java-archive

You need to add these to your .hataccess file of directory in which these files are if using apache server.

0

精彩评论

暂无评论...
验证码 换一张
取 消