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
New Contributor
Posts: 4
Registered: ‎03-17-2010
My Device: curve 8110
My Carrier: T-Mobile

How to build the blackberry application for OTA installation for Eclipse

Hello friends

 

I am newbee in Blackberry development. i have completed a blackberry application which is running fine in Simulator.I want to create a build of that application for OTA installation.

Right now  I am developing in Ecilpse 3.4.2. and using CP4.5.0.16 with Blackberry JDE plugin for eclipse 1.0.0.67.

 

any help would be highly appreciated

regards
spfh007
312
New Contributor
Posts: 4
Registered: ‎01-11-2010
My Device: 9700
My Carrier: T-Mobile

Re: How to build the blackberry application for OTA installation for Eclipse

When you sign the application, you'll have 3 folders inside of your \deliverables\ folder: Web, Standard, and 5.0.0...

 

Just upload all of the contents of Web to your website, and point users to the JAD file.

New Contributor
Posts: 4
Registered: ‎03-17-2010
My Device: curve 8110
My Carrier: T-Mobile

Re: How to build the blackberry application for OTA installation for Eclipse

[ Edited ]

 

@ 312

 

I have three files at my disposal  i.e.  .cod, .jar , .jad   . How to utilize them so that my application can be downloaded from remote server  using Blackberry browser.

regards
spfh007
Developer
Posts: 22
Registered: ‎06-11-2009
My Device: Bold 9700
My Carrier: Bell Canada

Re: How to build the blackberry application for OTA installation for Eclipse

[ Edited ]

Hello,

 

 

If your .cod file is >64kb it must be unziped using a decompression program. You will end up with multiple files such as

file.cod
file-1.cod
file-2.cod

You then upload these to your website, if your using apache you need to add something like this to your .htaccess file in your download directory

 

 

AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/vnd.rim.cod .cod
DirectoryIndex file.jad

 

 

Edit: This assumes your files are named     file.cod, file.jad
If file.cod <64kb you can just upload it directly.

Developer
Posts: 151
Registered: ‎01-20-2010
My Device: Blackberry Bold
My Carrier: Telefonica

Re: How to build the blackberry application for OTA installation for Eclipse

Hi spfh007

If you want more info you can access to the Developer Tutorials (Tutorials).

Exist a tutorial, Distributing Your Application, that explain OTA installation.

 

Distributing your Application

 

pd: Sorry for my english.

Developer
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: How to build the blackberry application for OTA installation for Eclipse

Developer
Posts: 73
Registered: ‎07-16-2009
My Device: Bold

Re: How to build the blackberry application for OTA installation for Eclipse

I recommend testing your App on a BB device before upload your files to the server.

 

Check for the JavaLoader command, is very useful,Ex;

 

JavaLoader  -uusb  -wMyBBPwd  load MyApp.cod

 

 

The only required files for the web server are the .cod and .jad, but be careful of the size of the COD file (read the above posts).

 

 

Greetings