Installing Gmail (or Any Blackberry App) on a Blackberry via Blackberry Desktop Without a Blackberry Data Plan

This works better than the method by headtailgrep at http://www.pdastreet.com/forums/showthread.php?s=&threadid=47229 because Blackberry Desktop will auto-uninstall headtailgrep's installs, but not Blackberry Desktop's installs.  htg's method works for generic Java applications, while this method works for Blackberry applications.

This method is useful if you don't have a Blackberry data plan.

EDIT: Please note that you do have to have a data plan, just not a "Blackberry data plan."

Prerequisites:

  1. Firefox (could use another browser if it lets you change your user agent)
  2. User Agent Switcher 0.6.11 add on for Firefox (or your browser's equivalent). See http://chrispederick.com/work/user-agent-switcher/
  3. BlackBerry Desktop Software (I'm using 4.6.0.12)

Actions:

  1. Define a user agent:
    1. Description = blackberry 8700
    2. User Agent = BlackBerry8700/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/180
  2. Set Firefox to use this user agent.  Check to make sure it did via Tools/User Agent Switcher
  3. Browse to m.google.com
    1. Click on Gmail
    2. Click on Install Now.  This will download http://m.google.com/app/v2.0.5/L1/BlackBerry-41/GoogleMail.jad
    3. Save it as C:\temp\bb\GoogleMail.jad
  4. Edit C:\temp\bb\GoogleMail.jad with a text editor that can handle newline-terminated lines
    1. Find all lines containing RIM-COD-URL.  In GoogleMail.jad, there are 4, named:
      1. GoogleMail.cod
      2. GoogleMail-1.cod
      3. GoogleMail-2.cod
      4. GoogleMail-3.cod
    2. Using the path (not the file name) from the .jad file url (e.g. http://m.google.com/app/v2.0.5/L1/BlackBerry-41/) construct the .cod urls:
      1. http://m.google.com/app/v2.0.5/L1/BlackBerry-41/GoogleMail.cod
      2. http://m.google.com/app/v2.0.5/L1/BlackBerry-41/GoogleMail-1.cod
      3. http://m.google.com/app/v2.0.5/L1/BlackBerry-41/GoogleMail-2.cod
      4. http://m.google.com/app/v2.0.5/L1/BlackBerry-41/GoogleMail-3.cod
  5. Download the .cod files into C:\temp\bb
  6. Create a file that looks a lot like this, and name it C:\temp\bb\GoogleMail.alx.  (Lines must be CR/LF terminated.):

<loader version="1.0">
<application id="Gmail:Google">
<name>Gmail</name>
<description></description>
<version>2.0.5</version>
<vendor>Google</vendor>
<copyright></copyright>
<fileset Java="1.0">
<files>
GoogleMail-3.cod
GoogleMail-2.cod
GoogleMail-1.cod
GoogleMail.cod
</files>
</fileset>
</application>
</loader>

 Note: It is important to take the value for VERSION from the MIDlet-Version row in the .JAD file.  Otherwise, BB desktop can tell you "No additional applications designed for your device were found"  Other reasons for this message include:

  • You need to download the software that tells the Desktop Manager how to properly talk to your device.

    RIM calls this software the “Device” software (or "BlackBerry Handheld Software" for newer versions), but it is your PC's device driver for the BB.

    To see the version of the device software you have installed, Desktop Manager/Help/About/Device_Software”.  If you don’t see your BlackBerry model in the list, Download it from http://na.blackberry.com/eng/support/downloads/download_sites.jsp  .

    Select your carrier and then select the software for your model.   (I used BlackBerry Handheld Software v4.2.1.155 (Multilanguage).)

  • Check to see if your file is exactly like mine.
  • You need CR/LF terminated lines (I think).
  • Don't put a trailing CR/LF after the last line
  1. Open Blackberry Desktop
    1. Application Loader
    2. Add-Remove applications
    3. Browse to C:\temp\bb\GoogleMail.alx

Perfect Tutorial

I have used this method twice and its faultless working just as described, Good Job.

With so many poor threads regarding blackberries and the stock answer being “You need a data plan” this is a solution that is perfect for people who don’t spend or want to spend. £35+ a month.

With Opera Mini and Gmail you have your blackberry working without being ripped off with plans. The only problem left to solve is the being able to send MMS certainly on Vodafone UK. Not sure of the other networks.

Excellent tutorial

Well described and works perfectly. A minor extra effort would make it more accessible to less technical audience. Also, for version 2.0.6, there is also GoogleMail-4.cod

Thank you so much.  Worked

Thank you so much.  Worked great with both Gmail, Google search and Google Sync with some obvious mods.  Now I am off to try it with Google Maps!

Will this work over wi-fi or

Will this work over wi-fi or do you need at least a generic data plan?  After installing Gmail,I can't set it up because it always says, "This program requires a working data connection.  Please check your signal strength and connection settings and then restart the application."  However, I do have a strong wi-fi connection and am able to browse the web.

I don't have a Java-enabled

I don't have a Java-enabled phone without a data plan, so I can't say for sure. It would depend on whether the underlying platform hides or exposes the differences between wifi and GPRS. I can't imagine that Google would have taken the time to code and test for wifi if it isn't transparent.

Will this method work on

Will this method work on Blackberry 8900 too,  without modifying user agent string? Thanks

I would like to install

I would like to install these apps to Blackberry 8900.

Can you help me please, how to modify user agent settings (below)?

User Agent = BlackBerry8700/4.1.0 Profile/MIDP-2.0
Configuration/CLDC-1.1 VendorID/180 

 Thanks

 

I have never owned a

I have never owned a Blackberry with WiFi, so I have never experimented with it.  Good luck to you!

User Agent String

The user agent string is just something to cause Google to treat your Firefox as a Blackberry.  If the 8900 can run programs that work on the 8700, you could use the same user agent that I used.  If not, then visit any of the many sites that will show you your user agent string (Google for "view user agent"), and use that value.

Thank you!

Thank you very much for this manual. I used it to get gmail app for Blackberry and now I am going to use it to get Google maps. This manual was a great help! In stead of step 6, you can also use BBSAK to install the cod files.

Thank you!

Angela

gmail app and wifi

I think you'll find an answer here:

http://forums.crackberry.com/f65/gmail-app-working-wifi-aerize-wifix-no-edge-gprs-data-plan-418798/#post4636000