BBM Social Platform – Drawing Users in with the Profile Box

How-to

BBM

BlackBerry® Messenger (BBM™) is more than just chat! With the release of the BBM Social Platform, we have released a comprehensive set of tools to easily add the power of BBM to your app. This blog post is one in a series focusing on how to easily add social networking features to your app – and there’s no better time to use this knowledge to update your app so that it’s ready for submission to the 2011 BlackBerry® Developer Challenge (particularly the Most Addictive social app using the BBM Social Platform category).

People love to share their accomplishments with their peers. You can design your app to incorporate levels of recognition for various accomplishments by use of some sort of award (e.g. badge, statement, icon, trophy, et cetera). Incorporating awards in your app can be a great way to enable users to promote your app to their peers.

Awards generally consist of an icon and a text string and should convey why they were awarded. The BBM Social Platform easily enables achievement sharing as can be seen in the screenshot below, where you can specify the icon and text for the achievement. The platform then automatically groups them under your application’s custom profile box.

BBM profile box

If achievements are not a good fit for your application, there are plenty of situations where users have content that they want to share with their friends that may be more suitable in their profile box as opposed to their status message. This could include their current location as a user travels, the current song a user is listening to, or the current book a user is reading. Other use cases include apps that leverage other platform services; for example, apps that are using BlackBerry Push Service may want to post updates for things like a win from a favorite sports team or an alert for extreme weather conditions. Apps that are using Payment Service for in-app purchase may want to allow the user to share items they bought which may encourage other users to purchase the same items. Alternatively, the achievements themselves, may not necessarily be application achievements but rather personal achievements, such as achieving a fitness or weight loss goal, a career goal, or even a financial goal. The possibilities are endless – and I’m sure you can find a way to leverage this feature in your application!

As a developer, all you need to do is pass an optional (but highly recommended) icon and a string to the platform and, provided that the user has given your app permission to post, the profile box will appear under your app for that user. The profile box is visible to all BBM users whether they have the app or not. Any user who clicks the box without having the app installed will be prompted to download it, expanding your user base through viral distribution. Users who already have the app installed will be prompted to launch it, increasing user engagement.

In the screenshot above, you can see that Nicole has a profile box entitled “Always Happy!” letting everyone know that the application (in this case the BBM SDK Demo) has seen fit to award her with this achievement. The code to accomplish this is seen below in Java® and BlackBerry® WebWorks™.

Java

UserProfile userProfile = platformContext.getUserProfile();
UserProfileBox profileBox = userProfile.getProfileBox();
if (profileBox.isAccessible()) // Ensure that we have permission to access the box
{
	// Each icon used by your application must have a unique ID
int iconId = 1;
EncodedImage icon = EncodedImage.getEncodedImageResource("smiley.png");
profileBox.registerIcon(iconId, icon);
profileBox.addItem(iconId, “Always Happy!");
// A third parameter, cookie (String), can be added to give your app context when launched via the BBMPlatformContextListener listener.
}

BlackBerry WebWorks

// Add an item with icon, text, and a cookie
var iconID = { id:1, uri:”local:///profilebox/smiley.jpg”};
var options = {text:”Always Happy!”, iconId:iconID};
blackberry.bbm.platform.self.profilebox.addItem(options);

To access the tools and get information about other features of the BBM Social Platform, visit our BlackBerry Messenger Developer site. To access the complete sample app demonstrating the code shown here, check out the Knowledge Base article “BBM Social Platform – Drawing Users in with the Profile Box”.

About Brian Z.

Brian joined Research In Motion (RIM) in 2005 working with Independent Software Vendors (ISVs) who specialize in Bluetooth, GPS, multimedia, and gaming. As a senior member of the Developer Relations Team, it's Brian's mandate to not only support the application development efforts for a number of ISVs, but also to act as a voice at RIM for third party application developers. Like RIM, Brian's roots are in the enterprise world, but over the past couple of years he's quickly adapted to the consumer space, and that's where he spends most of his time today.

Join the conversation

Show comments Hide comments
+ -
  • http://www.shopmatrix.co.cc/wordpress/2011/08/bbm-social-platform-%e2%80%93-drawing-users-in-with-the-profile-box.htm BBM Social Platform – Drawing Users in with the Profile Box | shopMatrix

    […] BlackBerry Developer’s Blog Posted in Blackberry Blogs | Tags: Drawing, Platform, Profile, Social, Users […]

  • http://www.androidpolice.com/2011/10/03/blackberry-messenger-on-the-horizon-for-android-leaked-blurrycam-photos-show-up-as-proof/ [Update: It's Most Likely Fake] BlackBerry Messenger On The Horizon For Android, Leaked BlurryCam Photos Show Up As 'Proof'

    […] on their hands. As reader benjymous pointed out in the comments, the second image is clearly ripped directly from a demo java app from the BBM SDK, giving us solid reason to believe that this is indeed fake. Boo!As an ardent Android fan I spent […]

  • http://mobilesyrup.com/2011/10/03/rumour-images-surface-of-bbm-for-android/ Rumour: Images surface of BBM for Android | MobileSyrup.com

    […] Looks like this is fake, the same image was featured on the BlackBerry site, specifically for BBM Social […]

  • http://nerdberry.net/2011/10/03/bbm-on-android-images-were-photoshopped/ NerdBerry.net » Blog Archive » BBM on Android Images Were Photoshopped!!

    […] posted on on the BlackBerry Developer’s Blog back on 8/26/2011 that post can be seen here: BBM Social Platform – Drawing Users in with the Profile Box. Hit the break to see the original image!At this point I am going to say without a doubt the Images […]

  • http://zonablackberry.com.ve/forum/noticias-y-rumores-de-blackberry/103756-rumor-aparecen-supuestas-imagenes-de-lo-que-vendria-ser-el-bbm-para-android-2.html#post947501 Anonymous

    […] esta tomada de una pagina de RIM para desarrollo de app que se conectan al BBM chequenla aqui BBM Social Platform ustedes terminen de sacar las conclusiones y si es cierto android le lleva mucha ventaja al os de […]

  • http://geekpro.es/tecnologia/movil-tecnologia/aplicaciones-moviles/aplicaciones-android/2011/10/%c2%bfblackberry-messenger-cazado-en-android/ ¿Blackberry Messenger cazado en Android? | Geek Pro

    […] Fuentes: Blackberry DEV|TechRadar […]

  • http://geektheplanet.net/5912/primeras-imagenes-de-blackberry-messenger-para-android.xhtml Primeras imágenes de BlackBerry Messenger para Android

    […] Por otro lado es que una de las tomas de pantalla coincide perfectamente con una de las imágenes mostrada en el blog para desarrolladores de BlackBerry: […]

  • http://www.amazonkindletablets.com/update-its-most-likely-fake-blackberry-messenger-on-the-horizon-for-android-leaked-blurrycam-photos-show-up-as-proof/ [Update: It's Most Likely Fake] BlackBerry Messenger On The Horizon For Android, Leaked BlurryCam Photos Show Up As ‘Proof’ - Amazon Kindle Tablets | Amazon Kindle Tablets

    […] hands. As reverend benjymous pointed out in the comments, the ordinal ikon is understandably ripped direct from a demonstrate drinkable app from the BBM SDK, gift us solidified think to conceive that this is indeed fake. […]

  • http://thehiphopdemocrat.com/2011/10/03/updated-with-new-info-editorial-is-rim-shooting-itself-in-the-foot/ The Hip Hop Democrat » Blog Archive » **UPDATED With New Info** [EDITORIAL] Is RIM Shooting Itself In The Foot?

    […] these images shown and “leaked” by T3 are photoshopped. The original image can be seen here.Page 1 of 2 | Next pagePosted in Editorials, Technology, You Decide | No commentsPrevious post: […]

  • http://5lejna.net/%d8%b5%d9%88%d8%b1-%d9%85%d8%b3%d8%b1%d8%a8%d8%a9-%d9%84%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d8%ac-%d8%a7%d9%84%d8%a8%d9%84%d8%a7%d9%83-%d8%a8%d9%8a%d8%b1%d9%8a-%d9%85%d8%b3%d9%86%d8%ac%d8 صور مسربة لبرنامج البلاك بيري مسنجر BBM على نظام الاندرويد

    […] تحديث : الظاهر الخبر غير صحيح واشاعة جديدة الصورة الثانية من : http://devblog.blackberry.com/2011/0…m-profile-box/ […]

  • http://bberryecuador.wordpress.com/2011/10/03/falso-el-rumor-de-que-blackberry-messenger-estaria-disponible-para-smartphones-antroid/ Falso el rumor de que Blackberry Messenger estaria disponible para Smartphones Antroid « Blackberry Ecuador

    […] Esta mañana publicamos acerca de un un rumor que BlackBerry Messenger ahora estara disponible en los Smartphones Android? Bueno, ahora tenemos evidencias que las imagenes que se muestran se montaron a lo mejor con Photoshop. La imagen que utilizaron para el montaje fue publicada en el blog del desarrollador de BlackBerry el 8/26/2011 la cual pueden ver aquí: BBM Social Platform – Drawing Users in with the Profile Box. […]

  • http://www.blackberryos.com/blackberry-news-rumors/25513-bbm-android-lets-not-get-ahead-ourselves.html#post232419 BBM for Android? Let's not get ahead of ourselves.

    […] they're the same picture. It seems whoever "leaked" these pictures is a fan of the BlackBerry Develope Blog. A simple job of photoshop seems to be the explanation for this picture. A fellow blogger also […]

  • http://www.supaginawebgratis.com.ar/%c2%bfblackberry-messenger-cazado-en-android/ ¿Blackberry Messenger cazado en Android? | PÁGINA WEB GRATIS y DISEÑO WEB GRATIS

    […] Blackberry DEV|TechRadar // Posted in android, Aplicaciones Android, RIM, […]

  • http://anynews.in/2011/10/03/first-screenshots-of-bbm-for-android-leak/ First screenshots of BBM for Android leak - AnyNews.in

    […] Update: We might have been had here, people – as commenter Benjymous points out, one of the images was likely taken from RIM’s BlackBerry Dev Blog. […]

  • http://www.se4m.com/forums/t61529.html#post852769 تسريب صورة BBM على android

    […] منتشره في النت. وطبعاً الصوره مأخذوه من هالرابط http://devblog.blackberry.com/2011/08/bbm-social-platform-profile-box/ وهذه هي الصور الاصليه في الرابط داخل موقع الطوير الخاص […]

  • http://101bestblackberryapps.com/blog/blackberry/bbm-for-android-rumors-are-fun-just-dont-take-them-too-seriously/ BBM for Android rumors are fun – just don’t take them too seriously | 101 Best BlackBerry Apps

    […] thoroughly abused Android device. However, the image beside the one from Techradar was found on the BlackBerry Developer blog. Can’t help but notice the similarities there so alas, let the rumor mill have at this one […]

  • http://www.transamazonica.net/blackberry/bbm-for-android-rumors-are-fun-just-dont-take-them-too-seriously.html BBM for Android rumors are fun – just don’t take them too seriously | Tools Technology

    […] thoroughly abused Android device. However, the image beside the one from Techradar was found on the BlackBerry Developer blog. Can’t help but notice the similarities there so alas, let the rumor mill have at this one […]

  • http://www.geeks.com.my/?p=421 [LEAKED] First Pictures Of BBM For Android OS | Geeks Onlines

    […] Update: We might have been had here, people – as commenter Benjymous points out, one of the images was likely taken from RIM’s BlackBerry Dev Blog. […]

  • http://blackberryczech.cz/?p=8161 BlackBerryCzech » První screenshoty BBM pro Android jsou podfuk?

    […] na Androidu. Vedle je umístěn screenshot, který byl publikována na oficiálním blogu DevBlog. Na důvěryhodnosti nepřidává ani špatná kvalita fotografií či ikonka BBM v černém […]

  • http://www.teknokedi.com/bbm-android-icin-geliyor-mu/ BBM Android İçin Geliyor Mu? | TeknoKedi

    […] bir konu var. İkinci ekran görüntüsü BlackBerry geliştiricilerinin blogunda daha önce yayınlanmıştı. Hem de birebir aynısı. Bu yüzden bu görüntülerin sahte olduğuna inanılıyor. Bir taraftan […]

  • http://www.pocketberry.com/2011/10/04/bbm-for-android-screenshots-surface-most-likely-fake/ BBM for Android screenshots surface, most likely fake | PocketBerry

    […] might be fake, but we definitely believe they are 100%.  The screenshot seen comes from a BlackBerry Developer’s Blog post.  I must say they did a decent job getting the screenshot onto the device, but I think […]

  • http://www.migantech.com/blog/it/2011/10/06/%e4%bc%a0%e9%97%bb-bbm-%e5%b0%86%e7%99%bb%e5%bd%95-android-%e5%b9%b3%e5%8f%b0-%e2%80%93-%e5%ba%94%e8%af%a5%e5%8f%88%e6%98%af%e4%b8%80%e6%9d%a1%e5%81%87%e6%b [传闻] BBM 将登录 Android 平台 – 应该又是一条假消息 | IT & 数码

    […] BBM 显得有些粗糙,其次,另外一张截图上的 BBM 界面,实际上是来自 BlackBerry Developer blog 的一篇文章所使用的图片。 我个人的想法是,BBM […]

  • http://androidforums.com/htc-desire-hd/433444-bbm.html#post3385386 Bbm - Android Forums

    […] take those pictures with a grain of salt. Anoymously leaked pictures on a wrecked device showing oddly familiar photos is a long stretch from an official press […]

  • http://cool essa

    hello

  • https://sameapk.com/article/2011/10/03/update-its-most-likely-fake-blackberry-messenger-on-the-horizon-for-android-leaked-blurrycam-photos-show-up-as-proof/ [Update: It's Most Likely Fake] BlackBerry Messenger On The Horizon For Android, Leaked BlurryCam Photos Show Up As 'Proof' | SameAPK Article

    […] on their hands. As reader benjymous pointed out in the comments, the second image is clearly ripped directly from a demo java app from the BBM SDK, giving us solid reason to believe that this is indeed fake. […]

blog comments powered by Disqus