Made of Everything You're Not

No, not the flute playing Eric Lamb; the guitar playing, PHP programmer Eric Lamb. The better Eric Lamb.
  • Home
  • Projects
  • Portfolio
  • Resume
« How to Exploit an Online Poll
Fix for Vista Folder View Fail »

Developing Web Sites for Blackberry

The other day I read an article on Sitepoint called iPhone Development: 12 Tips To Get You Started that I thought was going to go into the details of iPhone App development. Instead it’s an article about how to make your website render properly on an iPhone. Not what I was expecting but since I am a web developer it was still worth while.

Blackberry Browser

Blackberry Browser

I don’t have an iPhone so I couldn’t get too excited about the content though. After reading the article I started thinking about how to get web sites to render nicely on the Blackberry.

RIM (the makers of the Blackberry) provides some extensive documentation on how best to develop web sites for the Blackberry. The topics include:

  1. BlackBerry Browser – Fundamentals Guide
  2. CSS for the BlackBerry Browser – Reference Guide
  3. HTML for the BlackBerry Browser – Reference Guide
  4. BlackBerry Browser – JavaScript Reference

One of the easiest thing you can do to play nice with the Blackberry browser is to use the Viewport and / or HandheldFriendly meta values.

The HandheldFriendly meta value tells the Blackberry browser the website is exactly what the name implies: handheld friendly. This allows the browser to make some assumptions about layout and structure.

<meta name="HandheldFriendly" content="True" />

The viewport meta value works similarly to the HandheldFriendly meta value but provides for some basic customization of the default view settings.

<meta name="viewport" content="initial-scale=1.0" />
<meta name="viewport" content="user-scalable=false" />

It’s important to recognize the screen resolution of the Blackberry model you’re aiming for. Like regular web development hand held devices operate at different screen resolutions and with different color counts. For example the Blackberry Bold has a resolution screen size of 480 x 320 with 65,000 colors. Take heed on this if you want your sites to look good.

For the ecommerce sites out there, especially Blackberry application / theme / game sites, there’s documentation on how to integrate Blackberry Wallet into your website payment processing routine. I wasn’t too familiar with this but according to RIM:

The BlackBerry® Wallet is a BlackBerry device application that is designed to securely store information such as a BlackBerry device user’s name, shipping and billing addresses, credit card information, and login credentials for web sites and other BlackBerry device applications. After a user saves information in the BlackBerry Wallet, the BlackBerry Wallet can populate web forms and fields in applications to reduce the effort required by the user to complete data entry tasks.

So it essentially allows Blackberry users to shop online with their Blackberry but saves them the pain of entering credit card information over and over again. Nice idea.

Unfortunately, to utilize the Blackberry Wallet takes a lot of work; you have to edit all your forms to allow Blackberry Wallet to manipulate them. Kind of a crappy integration strategy…

So far that’s all I’ve been able to discover but I’m sure I’ll post more soon.

Bookmark and Share

Related Posts

Mailpress 5.0 Email Validation Bug
Blackberry Secret Codes
How To Unlock AT&T Blackberry
Tablekit: HTML Table Enhancements
IMAP on Blackberry: The Poor Mans BES

Tags: blackberry, Blackberry Wallet, JavaScript

This entry was written by Eric Lamb and posted on Monday, April 20th, 2009 at 4:57 am and is filed under Code, Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Comments

  1. Jack Clarke says:
    April 30, 2009 at 9:34 am

    Thanks, I enjoyed reading your post. It

    Reply
  2. Helen Woods says:
    December 24, 2009 at 3:58 am

    Hello, It is likely our entry is off topic but anyways, I have been surfing around your website and it seems very neat. It is obvious you know your subject and you seem passionate about it. I am setting up a new website plus I’m struggling to make it look good, and present high quality subject matter. I have discovered a good deal from your internet site and I anticipate much more quality content and will be coming back soon. Thanks you.

    Reply
  3. Antonio Zerphey says:
    April 4, 2010 at 6:50 pm

    This is a great site, Ill give a fave on faves.com. I’ll be checking back later… Great work. Regularly I do not make posts on blogs, but I have to say that this post really forced me to do so. Really fantastic post. Really fantastic and I will be coming back for more information at your blog and revisit it! Thank you.

    Reply
  4. salir embarazada says:
    August 1, 2010 at 4:16 pm

    Espero que sigan con estos tan buenas comentarios. Chau.

    Reply

Leave a Reply

Click here to cancel reply.

  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008

Copyright © 2008 - 2010 Eric Lamb - All rights reserved