开发者

Unsupported Media Type when deploying OTA Blackberry App

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜