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...

WebWorks File API Framework

One of the things I love about developing for BlackBerry 10 is that BlackBerry has really done well at implementing HTML5 standards (and a quick visit to http://html5test.com confirms it). While this is awesome as far as creating robust HTML5 apps is concerned, it means that developers have to learn new technologies that might not be fully implemented in your web browser. As an example, webkitGetUserMedia only recently showed up in Chrome. The File API isn't all that new (it's been around a while now),…
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...

The Power of Ant Build

There's several official ways for WebWorks developers to package their apps: Ripple (which I have personally never actually used) and the command line (my former favorite) being the big two. However, Tim Windsor from the BlackBerry Dev Relations team created what is, in my opinion, the best and easiest way to package and sign your WebWorks apps: the Ant Build Script. If you want to skip the rest of this post and read Tim's excellent documentation on getting it all set up, just head over…
Read more...

getUserMedia: stream video to your BB10 WebWorks App

If you ever wanted to stream into your BlackBerry 10 WebWorks app, it's pretty simple to do. This tutorial will include a brief example showing how to do it (and include all the necessary code). 1. Prepare all the basic elements for your app; the config.xml, any custom scripts and styling, and get everything set up. 2. Add the needed features and elements to your config.xml: <rim:permissions><rim:permit>use_camera</rim:permit></rim:permissions> I also recommend you use the following to lock the orientation:  <feature id="blackberry.app"> <param name="orientation" value="portrait" /></feature> 3.…
Read more...

How to create Custom Icons for your BlackBerry 10 Device

The thing I most miss about the Java based BlackBerry's is decent Twitter apps - I really wish there was a Twitter app for BB10 that was as good as T4BB or one of the other choices, or as good as Blaq for the PlayBook. A close second to that though is theming - I was very disappointed when BlackBerry decided not to launch Theme Builder for BlackBerry 7, and far more disappointed when it was announced that there would be no BlackBerry 10 Theme…
Read more...
Subscribe to this RSS feed
Subscribe to the official OSBB BBM Channel!

osbbchannelQR

C00013E89

Back to top