Questions tagged [blackberry-cascades]

BlackBerry Cascades framework contains tools and APIs that you can use to build rich applications using Cascades libraries and Qt libraries.

The Cascades framework includes the following:

Cascades UI and platform APIs

You can use the Cascades UI APIs to create stunning interactions, while the platform APIs provide access to the underlying features of the BlackBerry Application Platform. You can use the Cascades UI and platform APIs to do almost anything you need to create great apps, including:

  • Develop your UI in C++, Qt Modeling Language (QML), or both
  • Take advantage of core UI controls, or expand on them and create your own custom controls
  • Communicate over mobile and Wi-Fi networks
  • Record and play media files
  • Store and retrieve data
  • Manage certificates and use cryptographic protocols

Cascades Builder

Cascades Builder is built into the QNX Momentics IDE and lets you design your UI using a visual interface. When you change the code that represents your UI, you can see the effects immediately in the design view.

Qt APIs

The Cascades framework is built using the Qt application framework. This architecture allows Cascades to leverage the Qt object model, event model, and threading model. The slots and signals mechanism in Qt allows for powerful and flexible inter-object communication. The Cascades framework incorporates features of fundamental Qt classes (such as QtCore, QtNetwork, QtXml, and QtSql, and others) and builds on them.

Source Code

Sample Source Code at Developer Site

Cascades-Samples Code at Github

Cascades-Community-Samples at Github

Documentation

1. Documentation

379 questions
1
vote
1 answer

Invalid position for property alias

I am starting to develop for my shiny new BB10 Dev Alpha B with Cascades (Doubt i can implement a fully-functional Mp3 player on WebWorks, even though i'd really like to) and i've been trying to make QML and C++ play nicely as described in…
Machinarius
  • 3,637
  • 3
  • 30
  • 53
1
vote
2 answers

How to programatically take a screenshot on BlackBerry 10 using cascades?

Is it possible to take the screenshot using Blackberry 10 cascades API?
rfsk2010
  • 8,571
  • 4
  • 32
  • 46
0
votes
1 answer

BlackBerry 10 Cascades. How do I make a long running headless app terminate itself?

I'm making a BB10 app with a headless component that's normally supposed to run nonstop, except when a certain field in its QSettings changes (to save battery power). I tried looking everywhere for the documentation. But I still can't find out how…
Rachel
  • 1
0
votes
1 answer

QT Blackberry 10 cascades get WIFI IPv4 address programmatically

I required IPv4 address of my blackberry device of WIFI which it is connected. The IPv4 address which is displayed in Settings -> About -> Category Network => WIFI The same address I have to access programmatically.
Amit Yadav
  • 32,664
  • 6
  • 42
  • 57
0
votes
1 answer

BlackBerry 10, 3DES-ECB implementation

Intro My bb10 app sent 3DES-ECB-encrypted data to backend (PHP) Code PHP backend public static function encrypt3Des($data, $key) { //Generate a key from a hash $key = md5(utf8_encode($key), true); //Take first 8 bytes of $key and append…
CAMOBAP
  • 5,523
  • 8
  • 58
  • 93
0
votes
2 answers

How to notify ListView that DataModel has changed

I created a ListView and I want to use it with a custom DataModel. However, I have a problem: at the moment the view gets created, I don't have the data loaded into the model. The model data is set after the view is created and when I set the data…
0
votes
0 answers

Access navigation pane from stacked page

I'm new to Blackberry Cascades and I want to create a simple NavigationPane. I'm very used to Qt's StackView which allouse you to push and pop pages to and from the stack. However, Qt's [StackView][1] has this attached property called Stack.view…
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
0
votes
0 answers

BB10 Cascades ListView is jittering / shaking

I am working on a chat application for BlackBerry that leverages ListView to display chat messages. I have different kinds of messages and therefore I use multiple ListItemComponents, but what's more important, I use property: stickToEdgePolicy:…
pinebitter
  • 100
  • 11
0
votes
1 answer

What is the correct way to overlay an ActivityIndicator on BlackBerry 10?

In my BB10 application I wish to overlay an ActivityIndicator in the centre of the current screen to indicate when something (e.g. "loading") is happening. My current solution is to embed such an indicator in the centre of a custom transparent…
Ben J
  • 1,367
  • 2
  • 15
  • 33
0
votes
1 answer

BB Slot not firing for Http Connection

I am very new to blackberry and working with cascades. I've implemented a simple http connection (HTTP POST). The response is problematic, sometimes I am the response is shown in a toast, and sometimes it simply doesn't show anything. Here is the…
0
votes
3 answers

how to send text field values from one qml to another qml page in cascades blackberry

I am new to development on BB cascades. I've created two QML Pages. I want to pass data from one QML Page to another. I want to pass the values phonenumber(id:phonenumber) and amount ( id:amount) from mobile.qml to payment.qml. Please anyone help…
kartheeki j
  • 2,206
  • 5
  • 27
  • 51
0
votes
2 answers

Parsing JSON in Cascades

I am new to Blackberry development and I'm stuck on JSON parsing. I've learnt how to call a web service in QML but I don't know how to parse the result I obtain which is JSON. Anyone can help me? Thank you in advance. My actual code: Button { …
kartheeki j
  • 2,206
  • 5
  • 27
  • 51
0
votes
0 answers

Getting around list<> properties being readonly

I have two custom components written in QML //XOption.qml Container { id: xOption property string title; property bool active: false; function makeActive() {active=true} onActiveChanged { //alter appearance of option to…
0
votes
1 answer

Blackberry 10 Cascade: reading sms from device

I want to read SMS from device for this I use the following code.. using namespace bb::pim::message; MessageService service; MessageSearchFilter filter; filter.addSearchCriteria(SearchFilterCriteria::Subject,…
0
votes
1 answer

"bb.system.phone" is not installed

I'am new to blackberry cascades and was trying my hands on call functionality. However after running my sample program, the following error is occuring: import bb.cascades 1.4 import bb.system.phone 1.0 Page { Container { layout: StackLayout { …
Qwerty
  • 67
  • 1
  • 1
  • 6