Deprecated: Non-static method Joomla\CMS\Application\SiteApplication::getMenu() should not be called statically in /home/berryinf/public_html/templates/gk_magazine/lib/framework/helper.layout.php on line 152

Deprecated: Non-static method Joomla\CMS\Application\CMSApplication::getMenu() should not be called statically in /home/berryinf/public_html/libraries/src/Application/SiteApplication.php on line 275

Simple BBM Integration in WebWorks Featured

Jeremy wrote up a great article about integrating BBM into Cascades, and a few people mentioned they wanted to see an article about getting BBM integrated with WebWorks. I've been kind of off the radar lately, but figured this was a good topic for me to do a quick writeup on.

Now, to contnue with some friendly teasing I directed at Jeremy eariler: integrating BBM into Cascades may be easy, but integrating it into WebWorks makes integrating it into Cascades look like rocket science. Yes, it really is that easy.

If you want to follow along, about 8 months ago I wrote up a BBM Integration Sample that I'll be using in this article. You can find it at

1First, make sure you get your config set up right. For BBM integration, you need two additions:

<feature id="blackberry.bbm.platform" />

2Now that your config.xml is set up, you need to add some JavaScript to register your app with the BBM Server. To do that, you use the following function:

document.addEventListener('DOMContentLoaded', function() {
	blackberry.event.addEventListener('onaccesschanged', function (accessible, status) {
		if (status === 'unregistered') {
				uuid: '33490f91-ad95-4ba9-82c4-33f6ad69fbbc'
		} else if (status === 'allowed') {
			bbm.registered = accessible;
	}, false)

I personally use to get a UUID, but you can get one wherever you want. MAKE SURE YOU ALWAYS GET A NEW UUID! Do not use the one used in this function.

Just put that code in any JavaScript document that's loaded in your app, and your users will be connected!

3Now that you're registered, add whatever BBM Integrated function you want to an event, such as a button click. Some examples:
Allow users to update their BBM Status:

blackberry.bbm.platform.self.setPersonalMessage('I love OSBB!')

Allow people to change Availability Status:

blackberry.bbm.platform.self.setStatus('available', 'I\'m available!')

To invite other people to download your app:


It really is that simple. So get out there, and integrate your apps with BBM!


Shane Cridlebaugh

Co-founder and legal nay-sayer of OSBB. Owner of SCrApps Application Development, WebWorks aficionado, Open Source contributor. SCrid2000 on most blogs. I build awesome BlackBerry apps when I'm not doing legal work or spending time with my wife and two boys.

Follow me on Twitter - @GShaneC

Check out my apps in BlackBerry World

More in this category: « The Power of Ant Build

Leave your comments

Post comment as a guest


People in this conversation

Load Previous Comments
  • Guest (Paton)

    It is one of the awesome site in my view as far as my knowledge is concerned about this kind website.Really great and interesting post
    High Quality Tarpauline

    Like 0 Short URL:
  • Guest (Tyson)

    I'll bookmark your website and check again here habitually. I am very happy to see this because it is very useful for me. I am sure many others will find it interesting because it's about a widely discussed topic
    rubber roofing UK

    Like 0 Short URL:
  • Guest (Cemey)

    Your style is unique in comparison to other people I've read stuff from. Thanks for posting when you've got the opportunity, Guess I'll just book mark this site.
    heavy duty garage shelving available online uk

    Like 0 Short URL:
  • Guest (Femy)

    I really like this. You have explained so much in all the website sections. I was on your website and reading your blog. You have shared very informative blog for everyone. Please keep update from your more blogs.
    rubber roofing material

    Like 0 Short URL:
  • Guest (Eva)

    I am pleased to read that you have posted valuable content. This content is quite relevant to industrial work, i have visited few websites with such quality content. I will come back to read more relevant articles.
    garage shelving systems

    Like 0 Short URL:
  • Hi,This is a decent post. This post gives really quality data.I'm unquestionably going to investigate it. Extremely exceptionally valuable tips are given here. Much obliged to you to such an extent. Keep up the benevolent acts

    Like 0 Short URL:
  • Guest (ome)

    I am happy to find this website useful and informative. I like to say bundle of thanks for this stuff. Thanks for sharing and keep on sharing.I am very glad to read the post.
    Wax strips packaging hanger boxes

    Like 0 Short URL:
  • Guest (donay)

    I will have to share this informative stuff with others.
    custom printed boxes

    Like 0 Short URL:
  • Guest (Clark)

    This blog is very helpful for the web developer. Some web developer use for the different platform creating the new website. I am appreciate in the work. Thanks for sharing in the information. quality Garage Racking

    Like 0 Short URL:
  • Guest (Johnny)

    I Need the frameworks of the web work that you have put into the simple BBM. I want to recreate the frame works, that's why I am asking for the samples from your side.

    Like 0 Short URL:
Subscribe to the official OSBB BBM Channel!



Back to top