Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 68
Registered: ‎10-26-2008
My Device: Not Specified

deploying an application/permissions

Hi,

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?

Developer
Posts: 238
Registered: ‎08-26-2008
My Device: Not Specified

Re: deploying an application/permissions

Hi,

 

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!). 

Example: 

RIM-COD-URL-12: Example-1.cod

RIM-COD-URL-12 http://www. myurl.com/Example-1.cod

 

Regards,

Jochen

Highlighted
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: deploying an application/permissions

Try it manually, double click on the .COD files and select Request button, look for the status.

Use Search. "Accept Solution" If the problem is resolved.