1

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-descriptor

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?

Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
  • 2
    Those MIME types are correct. You might want to double check that your webserver is sending back the correct Content-Type header using a command such as "curl -I" – Marc Novakowski Apr 07 '10 at 19:26

2 Answers2

1

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

Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
0
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.

  • I am sure you might be messing them up. You need to use thoes in .htaccess Simply make a text file with this extension and add this content upload it to directory. – Laime Nekurzeme Mar 18 '12 at 11:03