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
2 answers

Make a page background transparent in cascades

I want to make page background fully transparent in blackberry 10 cascades. How can i do this ?? I tried with following code but it is not working.. Page { Container { layout: DockLayout {} Label { text: qsTr("Hello…
Sanket
  • 3,094
  • 1
  • 16
  • 19
1
vote
1 answer

Access Touch Event of Other Application in Blackberry 10 Cascades

I want to access touch events of other application from my application. For example launch my app and then minimize it. After that launch another app and if I touch on some button then I want its x-y coordinate of that touch event in my…
Sanket
  • 3,094
  • 1
  • 16
  • 19
1
vote
1 answer

BB10 Cascades SystemDialog

I have a question about SystemDialogs? I need to implement one in QML, but the sample project (“dialogs”) available on Github appears as containing errors when built with the 10.1 SDK. They do however run normally. The code of interest is as…
barry
  • 4,037
  • 6
  • 41
  • 68
1
vote
1 answer

BlackBerry Momentics can't find SDK

We installed Momentics IDE here on folder /opt/bbndk using sudo and set all files and folders permissions to 777 (so all user would be able to run it). But when we run it using another user, it shows this error below: If I run it with sudo, it runs…
1
vote
1 answer

Open file coming from an invoke request on Blackberry 10 Cascades

I am writing a Blackberry 10 Cascades app. I am trying to open a file which is an email attachment. int in_fd = open(m_uri.replace("file://","").toUtf8().constData(), O_RDONLY); (There's a reason I am using the open() call) But the file cannot be…
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
1
vote
2 answers

unable to build and deploy any sample cascades applications to the simulator

I have the latest (as of 5/1/2013) SDK and Simulator installed (10.1.0.1483). I have also downloaded the samples from github and unzipped on my PC. Here are the steps I take in attempt to launch a sample application: I Launch the Simulator and…
1
vote
1 answer

Installing Target Bar file in Blackberry 10 alpha Simulator

I have question w.r.t BB10 BAR file installation in Alpha Simulator. I created a blackberry 10 casecade application on QNX Momentics IDE. Application works fine on Blackberry 10 alpha simulator when i use the 'Simulator-Debug' mode. I also created…
1
vote
1 answer

Drawing gradient on BlackBerry 10 (Cascades and C++)

Is there any way to draw a simple linear gradient in Cascades or/and C++? I've found an example using QtQuick library (https://developer.blackberry.com/cascades/reference/qmlreusablecomponents.html), but it doesn't work. Even the import of this…
SPiiRT
  • 35
  • 5
1
vote
2 answers

Is there a sample of displaying a BBM contact list using Cascades on BB10?

I have been struggling for a little while to get the contact list from a BBM connected app so that I can choose a contact to work with. I am using the bb::platform::bbm::ContactService class, but whenever I call contacts() it comes back as null,…
1
vote
1 answer

BlackBerry 10 Native SDK - Writing Text Files

I am battling to write some data to a simple text file Here is my code: QFile file(app->applicationDirPath() + "/data/testfile.txt"); if (file.open(QIODevice::WriteOnly)) { QTextStream stream(&file); stream << "DATA HERE \n"; } The app…
iamanyone
  • 429
  • 2
  • 10
1
vote
1 answer

https://api.twitter.com/oauth/request_token Fails in Blackberry Native SDK

I am trying to connect to Twitter though oAuth.I am making a POST request to the API https://api.twitter.com/oauth/request_token. Here is is example of my Base signature…
user866821
  • 245
  • 5
  • 13
1
vote
1 answer

Is it possible to import/export sms/mms on Blackberry10?

Is it possible to import/export sms/mms on Blackberry10 programmatically using cascades API??
Taras
  • 2,526
  • 3
  • 33
  • 63
1
vote
2 answers

How to navigate to another page from listview button click event in bb 10 cascades?

I need to push a page when the list view button was clicked. I have tried the below coding but it is not working. ListItemComponent { type: "imageItem" Container { id: publicimageItem ...... ...... …
SelvaRaman
  • 218
  • 2
  • 15
1
vote
2 answers

BB 10 Development Environment

Hello Everybody , I am using following tools & SDK for Blackberry Native development in Windows 10 Native SDK 10.0.9.1673 BlackBerry10Simulator-Installer-BB10_0_10 Virtual Machine VMware-player-4.0.3-703057 Let me know,…
AK Joshi
  • 877
  • 6
  • 20
1
vote
1 answer

Duplicate actionbar buttons in Blackberry Cascades

I am having a weird problem with my Blackberry Cascades application. I was trying to add a button to actionbar (at the bottom of the application). But when I test it in the Blackberry 10 Dev Alpha simulator (BB10_0_10.261) it seems that I have 2…
ndsmyter
  • 6,535
  • 3
  • 22
  • 37