Kinetic Pulse
  • Home
  • Services
  • Portfolio
  • Blog
  • Terms
  • Contact

Testing mobile sites on Blackberry’s

September 11, 2012

Blackberry’s – royal pain in the butt to be honest.

I had built a lovely mobile site which worked beautifully on all browsers and my Android & iPhone. The some clever so-so (the client I belive) pointed it out it didn’t work on a Blackberry.
Grrr…
So here, for the record, are the steps/hoops I had to jump through to get it working on a Blackberry.
Tip 1: Dont bother with the emulators. Massive in size and pretty much pointless imho. Get your hands on an actual Blackberry device or two (I borrowed a colleague’s for the day) Its really the only way you can quickly see any changes you make to fine tune the site (as much fun as that sounds).
Tip 2: Older Blackberry models (version 4 I think) just simply dont have any capacity for things like Ajax so I’ve been aiming for compliance with the newer version (I think its 5 or 6?)
If the client wants it to work on older Blackberries then you might end up having to build a separate site completely 🙁

The problems I had were that
1) Jquery just doesn’t work – But there is an alternative jQlite http://code.google.com/p/jqlite/ which works on Blackberry’s (with only a subset of features of jQuery but enough to be going on with)
2) The Background-size CSS rule doesn’t work so you need to have a separate normal sized sprite if you’re using large sprites to work on mobile devices
3) The Modernizr plug-in doesn’t work either (even though they say it should – I found functions miraculously started working when I removed it…)

What I ended up doing for the site in question was:
a) Detect if the site is a Blackberry using a simple PHP script which queries the User Agent in the header
b) If its a Blackberry – load an alternative stylesheet that doesn’t use background-size (and any other non-supported CSS rules)
c) If it is a Blackberry – don’t load jquery – instead load jqlite – and then test cos I think some of the cooler new versions of jQuery animations aren’t supported in jqlite. (When you’re testing the jquery/jqlite stuff I found it easier for debugging to change the switch from “blackberry” to whatever browser/OS i was using on my PC so I could see what script errors were being thrown)
d) If it is a Blackberry – dont load Modernizr

Its really annoying not having my own device I can test this with. But I’ll be damned if I’m going to sign up with a contract with one of those beastly things just to do web testing!

Share

Facebook Google+ Twitter Pinterest Email

Back to Blog

Testimonials

Absolutely fantastically professional web developer – I would highly recommend!!! Thank you so much Kinetic Pulse!
Tania MarstonDoris Designs
I like it.  I like it a lot !!!

 You have interpreted what I wanted to achieve perfectly considering what you have to play with i.e not redoing the whole thing in the process.

Fiona Simmons-MooreSouth Gloucestershire Parents & Carers
Amazing and brilliant, Kinetic Pulse have lifted a dream to reality, Highly recommended and great if you are total novice, they know their stuff…Thanks again
Annie LindridgeSalt Yourself Out
Thank you for all of your hard work its looks fab and I am over the moon with it!
Amanda MercerAmanda Mercer Ceramics
It’s been fab working with you – we love the site and certainly going to recommend you!
James DaviesThirty Eight Degrees North
Thanks so much for all your work on this, really appreciated. It’s come on in leaps and bounds since you took over.
Pete KewRedwood Strip Curtains
Thank you guys so much for all that you’ve done helping us to create a really awesome website!! We get such great feedback – everyone loves it & we couldn’t be prouder! Look forward to working with you again soon!
Wild Thyme PlantsWild Thyme Plants

Copyright 2025 Kinetic Pulse