Can not download uploaded file from web server(OTA)
I have deployed my .cod , .html, and .htaccess file on the web server for blackberry application dist开发者_如何学JAVAribution having size of 237kb but it does not allow to download. What is the proper way to upload it?
Here is a nice Tutorial on how to do it :
http://assets.handango.com/marketing/developerTeam/BlackBerryOTADeployment.pdf
All you have to do is build the application with the eclipse plugin that you installed from RIM.
From eclipse you package the project
1.1 Right click on the project
1.2 BlackBerry
1.3 Package
Then go to the folder deliverables
2.1 Go to the folder with your version,mine is 5.0.0
2.2 Extract the application jar
2.3 Take the *.cod files(there should more than one if the app is bigger than 64k) and the .jad file and put it on your webserver
now you point your BlackBerry browser to the .jad file and install your new app
Don't forget to sign your application if needed.
Usually the problem because the jad file can't find the jar and cod files. Are you sure you have pointed it to the absolute path of the jar. instead of writing RIM-COD-URL : myApp.Jar you should write it : http://www.mydomain.com/myfolderlocation/myApp.jar
and so for the other file.
And don't forget to rename the COD to zip file and extract the zip file contents(which contain COD files) and upload these files. just remove the zip file after that
精彩评论