OSBB Dev
Quick Facts
- Leveraged Cascades™ framework to port BlackBerry® PlayBook™ tablet application to BlackBerry® 10 platform
- Created user interface (UI) using Qt Modeling Language (QML) in 30 minutes
- Benefited from robust documentation and sample applications
BlackBerry Developer Success Story — OSBB Dev
As the Co-Founder of OpenSourcebb.com and the mobile development arm, OSBBx, Jeremy Duke has had a keen interest in the BlackBerry community for several years. Coming from a web development background, he took advantage of the BlackBerry® WebWorks™ SDK, which creates BlackBerry apps using familiar web technologies such as HTML5, CSS, and JavaScript, to develop the Space TV tablet app. The free standard Space TV app will feature live NASA TV, on-demand video and official NASA news, while the premium edition will also include news from multiple sources, updated images from the Curiosity Mars Rover, NASA's Astronomy Picture of the Day, and more.
After attending a BlackBerry Jam event in September 2012, Duke decided to try porting his BlackBerry PlayBook app to the BlackBerry 10 platform using the Cascades framework, which contains tools and APIs to build rich applications using Cascades Native C/C++ libraries and Qt libraries. Not only did Duke want to learn Cascades to help create content for tutorials on the website, he also wanted to build a responsive, native application that delivered a strong UI.
Duke talked about working with QML for the first time, how important the robust online documentation and sample applications were, in addition to how valuable it has been for him to interact with Research In Motion® (RIM®) staff and other developers at BlackBerry events.
Q: How easy was it to create your UI using the Qt Modeling Language (QML)?
Duke: The UI was by far the easiest part. I built it in under an hour with no content, as I read through documentation, and watched video from the BlackBerry Jam Americas event in San Jose. It became clear to me that RIM did their homework as far as Cascades goes, because the instructions provided were very well put together and straightforward. I’ve found Cascades to be quite powerful. I’ve also added additional features from what’s currently available in the Space TV app for the BlackBerry PlayBook tablet. If you’ve ever done any programming, I think you need to look at Cascades. A lot of the work is done for you, and many useful features are baked in, but you still have the ability to implement customized features.
When I started this project, my intention was to use HTML content with a Cascades UI. However, I soon realized that the gap between technologies used by web developers and Cascades was not difficult to bridge. I’m not a C++ developer, so it was invaluable that I did not have to hand code any C++ for the application. The ability to create a functional application solely using QML was the only way I would have been able to develop an app like this in the time frame that I did.
Q: How important were the online resources that you had at your disposal?
Duke: A lot of times when you’re developing an application and learning a new programming language, you have to scour the Internet and try to piece together information. Unlike other systems: when developing with Cascades, I quickly found that the resources provided by RIM were more than adequate in most situations. The robust documentation and sample applications were very useful for me to test different things, and with each release, any existing gaps seemed to be filled by RIM or the developer community. The sample applications featured commonly-used elements like news feed APIs and the native video player in QML, as well as more specific features like pulling external data into a scrolling feed. By having the ability to compile different features, run them, and see what worked best for me, it made it easy to build my own knowledge base.
I had never used QML, Cascades or QT before this application, and it only took me three weeks to nearly finish a complete version. As a part-time developer still fairly new to mobile app development, it was crucial to be able to refer to documentation that would help me build such strong core functionality in a short timeframe.
Q: How valuable is it for you to attend events like BlackBerry Jam and interact with the RIM team and other developers?
Duke: The online documentation provided by RIM has been extremely valuable, but it’s also always beneficial to be in an environment where you can ask questions and get answers in person. Not only can I ask the RIM team questions, but I also get the opportunity to network, which is another motivation for going to events like BlackBerry Jam. Developers can definitely make or break a platform, so it’s crucial to realize that RIM has undeniably made a big effort to embrace them with the upcoming launch of BlackBerry 10.
The majority of developers that I’ve spoken to are enthusiastic and optimistic about the BlackBerry 10 platform. There seems to be agreement that the BlackBerry 10 approach is not just, ‘what can your phone do,’ but rather, ‘what can your phone do for you,’ This app-centric, person-centric approach, combined with everything I’ve seen on the BlackBerry 10 Dev Alpha device, suggests that it really is a unique offering. I’m really excited!
Results specific to OSBB Dev and may not be typical. This material, including all material incorporated by reference herein or made available by hyperlink, is provided or made accessible “AS IS” and “AS AVAILABLE” and without condition, endorsement, guarantee, representation or warranty of any kind by Research In Motion Limited and its affiliated companies (“RIM”) and RIM assumes no responsibility for any typographical, technical, or other inaccuracies, errors or omissions in this material and shall not be liable for any type of damages related to this material or its use, or performance, or non-performance of any software, hardware, service, or any references to third-party sources of information, hardware or software, products or services including components and content such as content protected by copyright and/or third-party web sites (collectively the “Third Party Products and Services”). When you subscribe to Third Party Products and Services you accept that: 1.It is your sole responsibility to: (a) ensure that your airtime service provider will support all features; (b) identify and acquire all required intellectual property licenses prior to installation or use and to comply with the terms of such licenses; 2.RIM makes no representation, warranty or guarantee and assumes no liability whatsoever in relation to Third Party Products or Services.
The limitations and exclusions herein shall apply irrespective of the nature of the cause of action and in no event shall any director, employee, agent, distributor, supplier or independent contractor of RIM have any liability related to the material.
© 2013 Research In Motion Limited. All rights reserved. BlackBerry®, RIM®, Research In Motion® and related trademarks, names and logos are the property of Research In Motion Limited and are registered and/or used in the U.S.and countries around the world. All other trademarks are the property of their respective owners.