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

Re-sizing the border in a Image View Blackberry10 cascades

i need to set a image-view it should have the square curve round at the edges ,How to do this can anyone send me some solution to do this
Vendetta
  • 513
  • 2
  • 16
2
votes
3 answers

Does Qt::createQmlObject ( string qml, object parent, string filepath ) work in BB10 Cascades?

var newObject = Qt.createQmlObject('import bb.cascades 1.0; Label {text: "Hold on cowboy!" }', parentContainer, "dynamicSnippet1"); It runs, and an object is returned, but it never shows on the screen. I have parented it to a container in my page…
dmdrummond
  • 184
  • 1
  • 7
2
votes
1 answer

How to implement the Button click event on listview in blackberry 10 cascades qml?

I have a list view with buttons but am not able to triggered the click event for buttons in qml blackberry 10 ? Can anyone help me about this regards, ListView { verticalAlignment: VerticalAlignment.Center horizontalAlignment:…
SelvaRaman
  • 218
  • 2
  • 15
2
votes
1 answer

How to get values from check box selected item in blackberry 10 cascades..?

I have a listview with checkbox. I want to get the values of selected items in the list view. How can i achieve the above..? I have posted the screenshots below : This is what i have tried : // List view declaration and its elements : ListView { …
Vendetta
  • 513
  • 2
  • 16
2
votes
1 answer

Pop all the pages except first page BlackBerry 10 Cascades?

How to pop all the pushed pages except first page in BlackBerry 10 qml?
SelvaRaman
  • 218
  • 2
  • 15
2
votes
2 answers

How to pass a var from one page to another in blackberry 10 cascades?

How to pass a data (ex userid ) from one page to another page in blackberry 10 qml ?
SelvaRaman
  • 218
  • 2
  • 15
2
votes
3 answers

Getting an error when trying to create a new project in the QNX Momentics IDE (an Eclipse IDE)

I'm attempting to create a new Blackberry Cascades C++ Project in the QNX Momentics IDE, and I was previously able to do this, but now when I attempt to do that, I get an error message dialog box up that says,…
user1296259
  • 521
  • 1
  • 13
  • 33
2
votes
3 answers

Why doesn't my QML property update when it is bound to Slider.value property?

I have a QML document with an int property, a Slider and a Button in it. I want x to always have the same value as Slider.value. Here's my QML: Page { property int x: 1 content: Container { Slider { fromValue: 1 …
donturner
  • 17,867
  • 8
  • 59
  • 81
2
votes
1 answer

BlackBerry 10 Cascades: How do I load data into a DropDown?

I have managed to load data from a remote Json web service into a QML ListView, but there doesn't seem to be any such thing for the DropDown control. Does someone have an example or an alternative method to accomplish a DropDown bound to…
Tjaart
  • 3,912
  • 2
  • 37
  • 61
2
votes
1 answer

How to show a phonepad with a certain number in Blackberry Cascades

I am using Blackberry Cascades 10 Beta 3 SDK with C++ QT & QML with the Blackberry 10 Dev Alpha Simulator and the QNX Momentics IDE, and I'm trying to implement the ability to click on a button with a phone number from QML and have it bring up a…
user1296259
  • 521
  • 1
  • 13
  • 33
2
votes
1 answer

BlackBerry 10 QML Application Crashes on datasource Load

The following code the constructor loads up a Qml file that loads data from a remote Json data source and this works perfectly fine. When I call the startMenu method I am using the exact same Qml in MainMenu.Qml but as soon as I call…
Tjaart
  • 3,912
  • 2
  • 37
  • 61
1
vote
0 answers

Use variable for json answer in QML BlackBerry

I have a project in QML, MomenticsID (BlackBerry10). I need to use the variable for json answer. I can not find some manual for this problem. When I use var result = data.item_01[0] everything is OK and program results in correct value. But when I…
PepikVaio
  • 21
  • 6
1
vote
0 answers

Blackberry Cascades recurrencerule does not register

I am trying on BB10 OS to register a recurrence rule with InvokeRecurrenceRuleFrequency=Weekly. But the InvokeManager->registerTimer call always ends with Error=2 (InvokeManager->registerTimer call for…
1
vote
0 answers

blackberry 10 socket client send data

I am posting here after searching stackoverflow and google regarding my issue. I am trying to send timestamp in milliseconds from blackberry q10 to Java Socket server on click of "space bar" button on my Blackberry Q10. i am able to connect to Java…
1
vote
0 answers

How to increase the height of a button using animation?

Could someone let me know how to animate how to increase the height of a button? I can increase the height of a button on the click of another button Page { Container { Button { id: btn2 text:…
Chris
  • 29
  • 3