New Qt and BPS-based Samples on the BlackBerry Messenger Social Platform

Mark Sohm has contributed six new Native samples showing how to perform common actions with the BlackBerry Messenger Social Platform.  All samples are in the Cascades-Community-Samples repository; two of them use BlackBerry Platform Services (BPS) and four use Qt.

A list of the the BBM-related samples is available at the Samples catalog tagged bbm.

Posted in Uncategorized | 2 Comments

New Repository: Presentations

We now have a repository to hold samples used during events like Conferences, Workshops and Unconferences. The Presentations repository is organized as a collection of directories, one per event, and then, within each directory, a collection of subdirectories, one per session.

Centralizing all samples makes it easier for you to discover and also makes it easier for us to publish.  Whenever possible we will use our standard Open Source licenses, as with our other repositories at GitHub.  Unlike in the case of those other repositories, samples in the Presentations repository will not necessarily be updated to track changes in the underlying platform and tools; their main goal is to complement the presentations from the event.

In some cases the samples shown in a session may be particularly useful and we may decide to publish them in a community repository, like Cascades-Community-Samples, or  even the official  Cascades-Samples.  When that is the case we will link from the appropriate subdirectory in Presentations to those samples.

The first two events covered are the first BlackBerry Jam, in Orlando, May 2012, and the most recent BlackBerry Jam Americas, in San José, Sep 2012.  At the moment just a handful of sessions are represented in the repository – once it is more populated we will do a proper post at DevBlog.

Posted in Uncategorized | 1 Comment

GamePlay 3D v 1.5 Now Available

Sean Taylor ( ) announced a new release of gameplay, an open-source (ASL2), cross-platform 3D engine designed for indie game developers.

The latest release is v1.5; the new features included support for Linux, vehicle physics, gamepad (XBox 360, PS3, Bluetooth HID controllers), touch gesture, Microsoft Visual Studio, and much more.

Check out the website, the documentation, the forums, and, the GitHub repo.

Posted in Native | Tagged , | 2 Comments

OAuth for WebWorks and for Qt

The IETF describes the OAuth 2.0 Authorization Framework in RFC 6749 as follows:

(The framework) … enables a third-party application to obtain limited access to an HTTP service, either on behalf of a resource owner by orchestrating an approval interaction between the resource owner and the HTTP service, or by allowing the third-party application to obtain access on its own behalf….

We have several samples and libraries to use OAuth in our platform.

Chad Tetreault ( ) recently published some WebWorks-based samples that use Rob Griffiths’ jsOAuth.  Read about the samples at Chad’s post at DevBlog, or go visit them at our BB10-WebWorks-Samples repo at GitHub: Twitter with OAuth 1, Foursquare with OAuth 2, or FaceBook with OAuth 2.

We also now have a Qt-based OAuth library in the bb-cascades-oauth repository.  The library is a BlackBerry-specific fork, by Kyle Fowler ( ), of kQOauth, by Johan Paul.


Posted in Uncategorized | 1 Comment

3D Cubes for AliceJS, Part 2


I get a lot of questions regarding how a new AliceJS effect is born. Most people are interested particularly about how you make code reusable. Lots of people know how to write an app. Few people know how to write a reusable library or framework. I have seen many examples about how to set-up a 3D Cube, but pretty much all of them take a pure content approach: you code your content, your settings, your CSS all in one big ball of code. In this 3-part article series, I’ll explore how you generalize the concept of a 3D Cube and how you approach it from an API point of view.

In the previous installment, we established the basic pieces of HTML and CSS to create a Cube effect and discovered a few tricks. In this installment, we’ll look at ways to significantly reduce the amount of HTML and CSS an application developer needs to put together to get a cube. Especially, we’ll remove the need to have specialized knowledge around how to achieve this and tuck it away under a simple API. There are many roads to Rome and I don’t profess that this way is the best: I am simply sharing the path I took, and the decisions I made along the way.

Continue reading

Posted in HTML5 | 2 Comments

BlackBerryDev – The YouTube Channel

A couple of weeks ago we launched a new YouTube channel: BlackBerryDev.  The videos cover a range of technical topics, from know-how to demos, and also cover some developer-related events.  Some examples include:

Currently there are 44 videos; the most popular so far is Cascades: Creating a Simple List.

More videos are in the pipeline.  Enjoy!

Posted in Uncategorized | Leave a comment

KickOff for UCOSP Projects

The UCSOP program is a nation-wide program in Canada targeted at university students in their last year working on a capstone project that emphasizes distributed teams and leverages Open Source.  The program has grown over the years and this year it includes 58 students from 16 Universities.

UCSOP is a great match for our Open Source Projects, and Tim Windsor ( ) thought so.  He put together a project on HTML5 Applications with BlackBerry where he is the lead point for a  team of six students from the University of British Columbia,  Laurentian University,  Ottawa University, and University of Waterloo.

The kickoff sprint on the project was this last week and the project is in full swing.  The main GitHub repositories where you will see participation are bbUI.js and the WebWorks Community APIs.  Read more details about this in Tim’s post

We will keep you posted of how the project progresses… and contact us if you are interested in starting similar projects elsewhere.

Posted in Uncategorized | Leave a comment