02-23-2009 10:17 AM
sorry if this has already been asked but I wasn't able to find it on the forum.
When the app is finished and signed, what files would you need to upload to the server to allow OTA installation?
I am providing the .JAD file and .JAR/.COD files, however when I download the application on the device, it will not allow me to run it - the whole "attempting to access a restricted API" (HTTP). I'm signing the app through Eclipse(Blackberry-->Request Signatures) and it does seem to sign fine. I'm uploading the correct files but still getting that error. Any ideas?
02-24-2009 06:43 AM
using OTA for BlackBerry do the follwoing:
You need project.jad and project.cod file to deploy.
If .cod file size is too huge (rename cod to zip and have a look inside. If there are other cod files in there, then extract and deploy these!)
Copy all cod and the jad file onto server.
Create a .htaccess file with following onto server into same folder:
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/vnd.rim.cod cod
AddType application/java-archive jar
AddType audio/adpcm adp
Now, the .jad file must be adapted with all the urls of the .cod files (use complete URL of server therefor!).
RIM-COD-URL-12 http://www. myurl.com/Example-1.cod