0

I have a simple "hello world" blackberry application. I want to put my compiled files (.jad,.jar or .cod) to my web server and let my application to be downloaded by my blackberry users.

I have tried to use .jad files for downloading. However when I click the button, the blackberry device displays the content of the .jad file line by line and nothing happens.

In short, I want to put a link on my page and when a user click it, my app will be downloaded his/her device.

How can I do that ? Thanks

anL
  • 1,073
  • 1
  • 11
  • 31

1 Answers1

2

Your web server has to apply the appropriate MIME type to both the JAD and the COD files.

  • JAD = text/vnd.sun.j2me.app-descriptor
  • COD = application/vnd.rim.cod

See your web server documentation on how to specify MIME types for served files. Quite often you can do this with a .htaccess file.

Richard
  • 8,920
  • 2
  • 18
  • 24
  • 1
    Thanks, I have solved the problem by adding a descriptor to the top of my jsp file. – anL Apr 04 '13 at 06:19