×

Warning

JUser: :_load: Unable to load user with ID: 1175

Quick Tip: Invoking the Media Preview "Card" [updated 12-31-2013]

The Invocation framework is one of the hallmarks and great strengths of the BlackBerry 10 operating system, and can allow us developers to easily integrate with core and third-party applications. To make the process easier, in this tutorial I will show you how to implement an Invocation Manager that you can can call at will from inside your QML to invoke just about any card or app available. As usual, we will be starting with a standard empty Cascades project and working from there, so…
Read more...

Fundamentals Brief: Calling C++ functions from QML

This tutorial is the first in a series of very brief and concise tutorials covering some basic fundamentals needed to develop BlackBerry apps using Cascades. There comes a time when a Cascades developer may need to utilize C++ in conjunction with his or her QML. Many developers use JavaScript for app logic and sidestep using extra C++ logic entirely. Having the ability to use JavaScript  and/or C++ in conjunction with QML is one of the strenghts of Cascades development, so pick your poison. That being…
Read more...

Keeping it pithy: Toasts in Cascades

What is a toast? Well according to BlackBerry... "A SystemToast displays a small message that expires and disappears after a predefined amount of time. This message provides users with information and allows them to continue with the application after the toast expires." You've seen toasts when you clear your browser history or delete an attachment from a BBM and in many other places throughout BlackBerry 10. When dealing with toasts and any other user prompts, developers need to be cognizant of the user experience and…
Read more...

Simple BBM Integration in Cascades

Did I say simple? I meant very simple. In the following sample app I started with the standard empty cascades project and added a total of ~55 lines of code to the applicationui.cpp and applicationui.app files. In addition the UI is very plain as to not take away from the core purpose of a sample application which is to demonstrate how to do something, right?
Read more...

Easing into Cascades Animations

OverView One of the many elements that makes the Cascades UI so beautiful is the widespread use of animations. Even without programming it yourself, animations are an integral part of your Cascades application. For example, when you pull in a sheet it slides in, or when you push a new pane within a NavigationPane, you see the built in animations in action. There are many more subtle animations in Cascades that happen automatically, and I am not going to attempt to name them all because…
Read more...

Example of a First Run Tutorial in Cascades

I'm sure many of you have installed an app onto your device that displayed a brief tutorial the first time you launched it, right?  If you have ever wondered how you could do that in your own app, this sample application will show you one simple way to accomplish this in a Cascades app.  Info This sample app utilizes QSettings, so see my previous tutorial about QSettings if you need some help there. This post will not be a full-fledged tutorial, but I do want…
Read more...

Simple Example of QSettings in Cascades

There comes a time when building apps, when it is necessary to store a setting, a value, or a string of text in a persistant manner--meaning it remains stored even after the app is closed and reopened. In Cascades, QSettings is one of the options available to developers to accomplish just that. In this short tutorial, you will learn how to store a string of text via QSettings.   Starting in the application.cpp (for full source see Github) file we need to add a few things…
Read more...

BlackBerry Native IDE 10.2: setting up your environment

One aspect about coding natively for Blackberry that intimidates some developers coming from WebWorks or other environments is the use of an IDE -- Momentics in this case.  BlackBerry has done a good job with the latest beta version of Momentics in making things much simpler than they were even a year ago.  The interface is simple and presented in a much less intimating way with the new beta.  So for this tutorial, we will be using the new native IDE version 10.2 Beta 1,…
Read more...

Running a C++ Functions from QML

When I first read about Cascades "they" said use QML for the UI and C++ for the logic.  Okay, great so I wrote a function in C++ and made a pretty UI in QML... Now what?  In this example I'll go through the steps it takes to call a C++ function from the QML.  However this example won't have a pretty UI.
Read more...
Subscribe to this RSS feed
Subscribe to the official OSBB BBM Channel!

osbbchannelQR

C00013E89

Back to top