BlackBerryForums.com : Your Number One BlackBerry Community  
   

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
InfoEx Offline
New Member
 
Posts: 3
Join Date: Jul 2008
Model: 8830
PIN: N/A
Carrier: AT&T & Verizon
Default Help with OTA install file. - 07-22-2008, 01:44 PM

Thanks for looking.

We created an application that runs fine when installed directly on the BB using the .cod file. When using the .jad OTA we get the following messages:

The item you selected cannot be displayed. Do you wish to save the item?

When we say no we get:

Unsupported media type:application/octet-stream

Anyone have any idea of what we are doing wrong?

We have a valid license, so that isn't the issue.

Any thoughts would be most helpful.

Thank you
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Phranc Offline
Talking BlackBerry Encyclopedia
 
Posts: 435
Join Date: Feb 2008
Model: 7000
Carrier: Pigeon
Default 07-22-2008, 01:56 PM

Wirelessly posted (8130 Pearl)

Where ever you have the file located, the server has the incorrect mime type listed for that file. I don't know what the mime type for .jad files is, but octet stream is generic for an executable.

text/vnd.sun.j2me.app-descriptor is the correct mime-type.

Last edited by Phranc : 07-22-2008 at 02:07 PM. Reason: Spelling and content.
   
Reply With Quote
  (#3 (permalink)) Old
InfoEx Offline
New Member
 
Posts: 3
Join Date: Jul 2008
Model: 8830
PIN: N/A
Carrier: AT&T & Verizon
Default 07-22-2008, 02:07 PM

Thank you, we will look into the sever config.
   
Reply With Quote
  (#4 (permalink)) Old
hrbuckley Offline
Thumbs Must Hurt
 
Posts: 175
Join Date: Jan 2006
Model: 8820
Carrier: Rogers
Default 07-22-2008, 09:11 PM

And the jar should get the mime type application/java-archive

Not to pick nits but application/octet-stream means essentially an untyped binary file. Some installations call just about anything an application/octet-stream and assume the receiver will determine the type from the file extension. Not a practice I like, but there isn't much one can do about it. The blackberry seems to be written to correctly act on the mime type rather than the extension.
   
Reply With Quote
  (#5 (permalink)) Old
NickfromIL Offline
Thumbs Must Hurt
 
Posts: 2,081
Join Date: Feb 2008
Location: Northern IL
Model: 8330
OS: 4.5
Carrier: Verizon
Default 07-22-2008, 09:14 PM

If you create a file called .htaccess with 2 lines of code (see link below) and put it in the directory with the files, this will solve your problem.

He is a nice guide to help you.

Howto: Setup an Apache Webserver to deliver BlackBerry OTA Applications | BlackBerryInsight
   
Reply With Quote
  (#6 (permalink)) Old
InfoEx Offline
New Member
 
Posts: 3
Join Date: Jul 2008
Model: 8830
PIN: N/A
Carrier: AT&T & Verizon
Default 07-24-2008, 01:53 PM

NickfromIL - worked perfectly, thank you!
   
Reply With Quote
  (#7 (permalink)) Old
NickfromIL Offline
Thumbs Must Hurt
 
Posts: 2,081
Join Date: Feb 2008
Location: Northern IL
Model: 8330
OS: 4.5
Carrier: Verizon
Default 07-24-2008, 01:54 PM

You're welcome
   
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1