Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 05-05-2009, 06:47 PM
CrackBerry User
Device(s): 9550 (Storm2)
Carrier: Verizon
Pin: 310DB3BA
 
Location: Tacoma, WA
Join Date: May 2007
Posts: 40
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
  #2  
Old 05-12-2009, 08:06 PM
CrackBerry User
Device(s): Storm (4.7.0.65), Bold (Generic 4.6.0.162), Pearl 8110
Carrier: AT&T & VZW
 
Join Date: Oct 2008
Posts: 101
Likes Received: 0
Thanked 0 Times in 0 Posts
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 Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   .jad will not download to device

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes