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
0
votes
1 answer

Validation in BlackBerry 10 application

I am trying to develop one app in which I need one registration page. How should I apply validation in that for phone numbers and e-mail ? Please somebody help me
BB10
  • 9
  • 2
0
votes
1 answer

BBM Connected app In BB 10 cascades

I am developing one Trading Application in BB 10 Cascades.now I would like to add/show this application to BBM. I have downloaded BBM registration App from https://github.com/blackberry/Cascades-Samples/tree/master/bbmregistration and Integrated to…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

How to get the BBM connected apps list pragmatically BB 10 cascades

I am working on BB 10 cascades BBM. I have a requirement as when I install my app, app automatically add to BBM connect apps list and how can I show the list BBM connected apps. Please help....
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

Add a contact/pin to BBM from BB 10 Native App

In my BB 10 cascades App , I need to add a Button click listener for Adding a contact information like pin:210000A to Blackberry Messenger (BBM). for that I am doing the following... main.qml is like import bb.cascades 1.0 Page { Container…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

converting ascii to unicode example BB 10 and vise versa

can anyone help me in converting a QString into unicode from Ascii and vice versa If possible add some code snippet. Thanks,
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

Drop down alignment in BB 10 cascades

Here i am facing one problem,I need to change the Drop down option to align right. now i am pushing the value like... foreach (int key, map.keys()){ if(position ==1 && key >1000) { Option* option = Option::create(); …
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
2 answers

Get active navigation page in blackberry 10 app

I'm making an app with QML/c++ first page with navigation pane is created with qml. Then the second page is also qml. On a button press of first page a c++ function is invoked and parsed the second page and have to push to navigation page. what I'm…
0
votes
1 answer

BB 10 cascades signals when user closing the App

Is there any signal that fires , while the user terminating the app. I need to clear the data from database On terminating the App. I hope that get a proper solution here, Thanks
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

DataModel in BlackBerry 10

I want to store some data in database and get this data from it. But when I try to retrieve this data I am having some problem. I have done the following code to read records--- QSqlDatabase database = QSqlDatabase::database(); QSqlQuery…
Dhiraj333
  • 11
  • 3
0
votes
1 answer

English and Arabic Language Switching in Single BB 10 Cascades

I have developed a BB 10 Application where I need to provide English and Arabic Language Switching.Now App is working good in English,when the user selects Arabic Language,Total Application is need to be converted into Arabic Language. My App…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

Swaping Listview positions in BB 10 Cascades

I have read an article here that http://bbcascadescode.tumblr.com/post/51115772119/swap-function-in-containers, we can swap the container components.I followed the same procedure and it is working for me. When i Applied the same procedure for…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

BB 10 App will terminate ,if It is offline

In my App, when ever BB 10 Device is in Offline... I need to show a dialog box with "Ok" Button.pressing "Ok" button Should Terminate the APP !!! SystemDialog *dialog; dialog = new SystemDialog(tr("OK"), 0); dialog->setTitle(tr("Alert"));…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

Blackberry 10 SystemPrompt->inputField does not change value on user input

I need to display system input dialog: title, some text, input field, OK & Cancel buttons. I'm new to BB development, so I carefully read docs and samples:…
0
votes
1 answer

blackberry 10 cascades Activity Indicator for listview

I have a List view in bb 10 App, where i need to show data read from server. I am able to do that.but the problem here is ,It is taking some delay to read the data from server and show it on List view. Now i want to notify the user with meaning full…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

bb::cascades::Button: click handler - determining the sender

I'm creating multiple (undefined at design time) number of buttons programatically. How can I determine which button was clicked in my handler? for (int i = 0; i < XXX; i++) { Button *btn = Button::create(); QObject::connect(btn,…