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: 209
Registered: ‎11-08-2008
My Device: Not Specified

How to install Blackberry API and COD file over the air (uploaded files)

Hi All,

I have uploaded my application's ALX and COD file on the server. But no one is able to download from the given link.

Please tell me why is it not installing ? And please forward me some solution ?

 

Thanks and Regards,

Mudassir

Thanks and Regards
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to install Blackberry API and COD file over the air (uploaded files)

I guess you are trying to download the program OTA?

 

If so, you must also deploy the .JAD file, and point the browser to this file. You also have to set the mime type on your server correctly.

 

See the RIM manaul on deploying applicaitons:

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/7979/1181821/832210/Deployin...

 

 

Developer
Posts: 209
Registered: ‎11-08-2008
My Device: Not Specified

Re: How to install Blackberry API and COD file over the air (uploaded files)

Thanks for your favourable reply, I tried as you told. But i got "400 bad request".

I set the Mime. And the url for example http://www.xyz.com/abc/def.jad.

Please tell what else i can do.

Thanks and Regards
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: How to install Blackberry API and COD file over the air (uploaded files)

Check your web-server documentation. It is about your web-server software setup.
Developer
Posts: 209
Registered: ‎11-08-2008
My Device: Not Specified

Re: How to install Blackberry API and COD file over the air (uploaded files)

when I open this link, now I am getting this file as text and my BB curve does not do anything. My mime settings on the server are set. Do I need to set anything on the BB device too?

 

Plz help. 

Thanks and Regards
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: How to install Blackberry API and COD file over the air (uploaded files)

There is nothing to set on your device.

 

Alx is for installation from desktop computer via Blackberry Desktop Manager.

 

Place JAD file along with cod files on the server and set proper MIME type for each file.

 

Please note if your cod file has sibling cod files inside you have to do the following.

 

Rename your one cod file to zip file and unzip it. Now delete the zip file and place all unzipped cod files along with jad file to the server.

Contributor
Posts: 10
Registered: ‎04-09-2010
My Device: 8530
My Carrier: MetroPCS

Re: How to install Blackberry API and COD file over the air (uploaded files)

I downloaded some cod, jar and jad files to my desktop from getjar.com, but they are missing alx files. Is there a way to do load them without having to create an alx file for each one?

twitter: justingoldberg
Developer
Posts: 19,623
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to install Blackberry API and COD file over the air (uploaded files)

You can load using the jad.  Two options:

a) javaloader

b) Copy the cods and jad to your SD Card, then use FIle Explorer to browse to the jad.

 

Or you can easily create an alx.  Generate one for an application you know about, and have a look at the XML, you should be able to figure out what you need to change.

Contributor
Posts: 10
Registered: ‎04-09-2010
My Device: 8530
My Carrier: MetroPCS

Re: How to install Blackberry API and COD file over the air (uploaded files)

thanks peter_strange

twitter: justingoldberg