Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Developer's Forum

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2009, 07:47 PM
woodi68's Avatar
CrackBerry User
Device Model: 9530 (Storm)
Carrier: Verizon
PIN: 3049E01C
 
Join Date: May 2007
Location: Tacoma, WA
Posts: 35
Default .jad will not download to device

Hi All!

I am helping a friend with a site for a conference. We used BBLauncher.com to create a .jad file as a BBBrowser launcher for the mobile site. Problem is when I upload the file to my Google Sites site and click on the link from my BlackBerry it doesn't actually launch. Instead it opens it as a txt file site so I can see all the coding from the .jad file.

My understanding of the problem is the "Mime type" allowed by my "host". I've gone through and followed the FAQ from BBLaucher.com site:

Why is my browser launcher not installing when I view the JAD file in my BlackBerry browser?


If you are trying trying to install your browser launcher over to air (OTA) and your BlackBerry browser is just showing you text instead of prompting you to download the application it is most likely because your web browser does not understand the JAD and COD file mime types. A mime type is just a piece of information that tells the web server how to handle and deliver certain types of files to you. If you have administrator access to your web server you can always add the JAD and COD file mime types to your web server's configuration files. But since most people do not have administrator access to their web hosting server a much easier solution for people using the Apache web server is to create a file named ".htaccess" and place it in the same folder as their JAD and COD files. In the .htaccess file you should place the following two lines of text:

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


After the .htaccess file is created and in the proper folder with your JAD and COD files you will be able to download and install your BlackBerry browser launcher. Be aware your BlackBerry browser may cache the JAD file from an earlier failed installation attempt so be sure to select "Refresh" from the BlackBerry browser menu to force the browser to reconnect to your web site and fully reload the JAD file in order to start the installation process.

Can anyone help me get this darned thing working? I have .jad file and .cod file.
__________________
Twitter me this!
Reply With Quote
  #2  
Old 05-12-2009, 09:06 PM
MalPraktiz's Avatar
CrackBerry User
Device Model: Storm (4.7.0.65), Bold (Generic 4.6.0.162), Pearl 8110
Carrier: AT&T & VZW
 
Join Date: Oct 2008
Posts: 97
Default

Google Sites is a real puzzle to me. My own BB launchers work fine there without even creating a .htaccess file, but I know others who have problems with Google Sites not properly returning mime types.

Have you contacted their support@bblauncher.com email address?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



 
 Site Support | Accessory Order Support | App Store Support | Advertise | Newsletter | About Us

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

The names RIM and BlackBerry are registered Trademarks of Research in Motion Limited.
CrackBerry.com is in No Way Affiliated with Research in Motion Limited.
Copyright ©2007-2009 Smartphone Experts. Terms and Conditions. Privacy Policy. All rights reserved.