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 Developer
sadanala
Posts: 59
Registered: ‎03-10-2009
My Device: Not Specified

content type to download .cod file

 

Hi,  

 

How to download .cod file from an an webserver?

 

what content type should be? 

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

Re: content type to download .cod file

Do you want to install the application to device?

Use Search. "Accept Solution" If the problem is resolved.
New Developer
sadanala
Posts: 59
Registered: ‎03-10-2009
My Device: Not Specified

Re: content type to download .cod file

Thank you very much for your quick reply.

 

Yes i want to intall the application into device. 

Developer
Ted_Hopp
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: content type to download .cod file

[ Edited ]

The mime type for .cod files should be application/vnd.rim.cod

The mime type for .jad files should be text/vnd.sun.j2me.app-descriptor

 

The application is downloaded by the web browser when it accesses the .jad file. The .jad file contents reference the .cod file(s) for the application.

Message Edited by Ted_Hopp on 09-15-2009 10:05 AM



Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.
New Developer
sadanala
Posts: 59
Registered: ‎03-10-2009
My Device: Not Specified

Re: content type to download .cod file

Thank you very much for your quick update.
Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: content type to download .cod file

Just for completeness, here are the relevant KB articles.

 

 

What Is - The required MIME types for a web server to serve BlackBerry smartphone applications
Article Number: DB-00439
 
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800646/What_Is...

 

What Is - Required MIME types for a web server to serve Plazmic content
Article Number: DB-00436
 
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800878/800791/What_Is...