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

Splash Page with progress bar in qml for blackberry 10

I'm developing an application for blackberry 10 with native sdk. I want to show a splash page/screen with some progress bar whenever the application launches i.e when the user clicks on the application icon. First I want to create sqlite database…
0
votes
2 answers

In Blackberry 10 Cascades is there a way to change the shape of an image or imageButton in blackberry cascades using an image mask or alpha channel?

In Blackberry 10 Cascades (C++, QT, QML) is there a way to change the shape of an image or imageButton in Blackberry 10 Cascades using an image mask or alpha channel or a masking colour (such as magic pink) - so that images and imageButtons don't…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

disable the application menu on one qml page

How do i disable the application menu on one qml page? Currently, all qml pages have application menu, but I want to disable it in the login page. My application menu is inside the main.qml. Here's what I added to my main.qml: Menu.definition:…
kev
  • 155
  • 1
  • 11
0
votes
2 answers

How to save the entered text in blackberry 10

How to save the entered text in blackberry 10. I'm planning to save it to stackmob by saving it using the submit/send key of the keypad TextField { id: tfComment hintText: qsTr("add comment") …
kev
  • 155
  • 1
  • 11
0
votes
1 answer

Layouts in blackberry 10 using qml

I'm learning Blackberry 10. I want to design a page in qml for balckberry 10 like below. I didn't understand the layouts in qml. I want the layouts with specific width and height and with some alignments. Could you please provide me the source…
0
votes
2 answers

Design Mode button is disabled in QNX Momentics IDE

I'm trying to learn BlackBerry 10. When I create new cascades project, it opens by default main.qml file. And the default mode is source mode. In the editor Design Mode, Vertical Split Mode and other buttons are not highlighted. What is the reason?
Suresh Basina
  • 185
  • 1
  • 6
  • 14
0
votes
1 answer

Fetching the data from stackmob BlackBerry-10

Currently I have this code here }else if (currentUrl == "http://api.stackmob.com/issue" && post == "NO"){ setGroupDataModel(response, "desc"); QDeclarativePropertyMap* propertyMap = new…
kev
  • 155
  • 1
  • 11
0
votes
2 answers

Blackberry 10: How to correspond incoming http replies to their previous http request counterparts?

First off, I would like to say I'm totally new to BB and I'm coming from an Android background. I've been looking at samples such as: https://developer.blackberry.com/cascades/documentation/device_comm/networking/ I have an application which is…
Chad
  • 2,335
  • 8
  • 29
  • 45
0
votes
1 answer

In Blackberry Cascades 10 (C++, Qt, QML), how do I invoke an email client with the fields populated?

In Blackberry Cascades 10 (C++, Qt, QML), how do I invoke an email client with the fields populated? I have looked into this - and here is what I have tried to do: InvokeManager invokeManager; InvokeRequest…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

Action menu button selected bb10

How do you set the action menu button as selected when it's already on its view? I ave this one view with action menu tabs, then when you tapped one then it'll redirect the user to that view, and I want the button to be displayed as pressed. Where…
kev
  • 155
  • 1
  • 11
0
votes
1 answer

Cascades signal not working

I have a sheet declared in my QML file, which has the id "splashscreen" When my app performs a computationally intensive task, I emit the working() signal. I have this code attached to the main element of my QML file: onCreationCompleted: { …
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
0
votes
1 answer

Close Sheet with signal from C++ in Blackberry Cascades

I have a UI for some decryption software that gets invoked from the mail client on an encrypted attachment. My decryption object emits a signal on successful completion of the decryption : emit decryptedChanged(); which I pass through my…
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
0
votes
1 answer

How to call SOAP Webservice with security header in blackberry 10 Cascading C /QML?

I am new to BB 10 Cascade. I need to call SOAP webservice with security header. How to use qtsoap ? Thanks in advance.
0
votes
1 answer

How to respond to the photoSaved signal in Blackberry Cascades

Ok, so I am using Blackberry 10 Cascades (QT, QML, C++), and I am trying to process photos that get taken by the camera. I have been looking into how to do this on the internet, and figured out some things, but it's not working yet. Here's what I…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

BB10 - Cascades Application - Console/Terminal Application

I am attempting to create a simple terminal application that runs on a BB10 device/simulator. I have gone through all of the available demo/example applications: http://developer.blackberry.com/native/ I can't seem to find a way to have an…
Cloud
  • 18,753
  • 15
  • 79
  • 153