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

How to detect network state in BlackBerry 10.2

I want to detect the state of network. I found two ways to look for the internet connection in bb 10.2 but no one seems to be working: 1: It always return "QNetworkAccessManager::UnknownAccessibility" QNetworkAccessManager* networkAccessManager =…
anam
  • 61
  • 1
  • 5
1
vote
3 answers

Blackberry 10 Debug token - How long does an App stay on the phone?

I can't find any documentation online, but when using Momentics IDE, when an APP is Ran/Debugged etc while your PC is connected to a phone... How long does this App remain on the blackberry?
Mark Pieszak - Trilon.io
  • 61,391
  • 14
  • 82
  • 96
1
vote
1 answer

Checking QSQLITE Database in Terminal

I created the database as follows: QSqlDatabase database = QSqlDatabase::addDatabase("QSQLITE"); database.setDatabaseName("./data/Movies.db"); database.open(); I then connect to my phone using telnet. Then I type in sqlite3. How can I search for my…
Kartik
  • 45
  • 1
  • 4
1
vote
0 answers

cascades bb10 dropdown error

hei guys...i have problem creating dropdown menu on bb10.. let's say i have dropdown A and dropdown B..the option onSelectedIndexChange action on dropdown A will change the option of dropdown B.. here's the code : RegisterPhone.cpp : void…
1
vote
1 answer

Blackberry 10 Scheduled Task

Hi I am developing an application like alarm clock that will allows the user to set a time and sound url. And when the time runs out the application should start automatically by playing the sound url. How this can be possible in Blackberry 10.Any…
pranavjayadev
  • 937
  • 7
  • 31
1
vote
1 answer

how to find out if virtual keypad is shown BB Cascades

I would like to know, if the virtual keypad is shown or not on BB10 devices (fulltouch). I'm using C++ / QML.
thowa
  • 590
  • 1
  • 8
  • 29
1
vote
1 answer

BlackBerry 10 Cascades - How to navigate to another CPP class

There are three different cpp classes in my BlackBerry 10 Cascades app Home.cpp FirstPage.cpp SecondPage.cpp Home page has two buttons through which user can navigate to remaining pages. This page also has NavigationPane through which I can…
silwar
  • 6,470
  • 3
  • 46
  • 66
1
vote
1 answer

Adding a tabbed pane to a navigation pane - BlackBerry 10

For my Blackberry 10 application, what I would like to do is to connect a tabbed pane to a navigation pane. However how can I do this when the user chooses an item from a list? I have created a list view where the source of items is based on an XML…
wbk727
  • 8,017
  • 12
  • 61
  • 125
1
vote
0 answers

How to omit confirmButton &cancelButton from SystemDialog in c++ for Q10?

I am facing a strange problem regarding SystemDialog. I need to omit confirmButton & cancelButton from my dialog. And I put the following code to do so- SystemUiButton *cancelButton =…
dipanjan
  • 85
  • 2
  • 11
1
vote
1 answer

How to set alarm in BB10

Hi I am developing an application to set alarm in Blackberry 10 cascades. I have searched a lot and i found setting Remainder. But I want to set Alarm and an mp3 file as Alarm tone. Is there any way to this in Blackberry 10 using Cascades.
pranavjayadev
  • 937
  • 7
  • 31
1
vote
1 answer

How to call ImageView by objectName in QML

I am dynamically creating images in my QML. This is the code I am using: for (var n = 0; n < 3 * numberOfTiles; n ++) { var image = imageDefinition.createObject(); image.translationX = getX(n); image.translationY…
Bojan Kogoj
  • 5,321
  • 3
  • 35
  • 57
1
vote
1 answer

The remote server returned an error: (401) Unauthorized: Push Notification

I am developing push notifications in BB 10 cascades.I am developing my own push initiator and not using Push Service SDK. My Server side push initiator code is as follows. private static void pushMessageSample(string pushPin, string…
Sharath
  • 315
  • 1
  • 3
  • 13
1
vote
0 answers

ListView not getting populated

I have a qml file with a ListView control. The data model of the ListView is being set from C++. The problem is that upon running the app, the items of the ListView are not being displayed. The following is my qml code: import bb.cascades 1.0 import…
HumptyDumptyEIZ
  • 374
  • 1
  • 6
  • 18
1
vote
2 answers

C++ object not found inside nested ListView in QML

I have a ListView nested inside another ListView in my qml. Both the ListViews are being populated by a data models which I get from a C++ class SelectRoomView. This is the code for my qml file: import bb.cascades 1.0 import Data.SelectRoomView…
HumptyDumptyEIZ
  • 374
  • 1
  • 6
  • 18
1
vote
1 answer

Schedule blackberry notification

Blackberry 10.2 Cascades. Is it possible to schedule a blackberry notification to fire at specific time(like on iOS), even when application is turned off? I successfully fired a notification while the app was in background as well as while in active…
Mercurial
  • 2,095
  • 4
  • 19
  • 33