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

UI does not respond outside ApplicationUI

I'm new developing BlackBerry applications and it's really hard for me understand how it works because the way to develop for BB differs a lot of Android or iOS developing. Here is my issue: I've created a registerPage.qml and a…
kemmitorz
  • 351
  • 7
  • 18
2
votes
1 answer

BB10 Cascades: expand/collapse items in ListView

I'm looking for code sample to collapse/expand ListItem in QML. Currently I have an idea to do it through toggling visible flag for each child of triggered item. But I can't imagine how to iterate the children. Here is piece of code: …
brigadir
  • 6,874
  • 6
  • 46
  • 81
2
votes
1 answer

Blackberry 10 Cascades - search-ahead drop-down + tag field

My question is related to Filipe Figueiredo's query (see: Blackberry 10 Cascades - Images inside Text Area) My Cascades BB10 App requires a search-ahead drop-down with the ability to have multiple items selected and displayed as Tag Fields. Look &…
sathyan
  • 21
  • 1
2
votes
2 answers

Blackberry 10 Cascades ListView visible items

I am using a listview to show some messages to the user, and I want to mark those messages as read when they appear on the screen. To do that, I would need to know if them were displayed or not. It is possible to do that? I know about…
2
votes
1 answer

BlackBerry 10 C-ARES

I am writing an application that uses C-ARES to resolve DNS. The C-ARES library available with the system doesn't support ares_parse_naptr_reply, something that I really need. I tried to compile c-ares as an external library (version 1.9.1, which we…
2
votes
1 answer

Get Connection Information BlackBerry 10

I have a BB10 cascade application that needs to know if the device is connected to the internet with the wireless interface in a specific moment. I can't find any interesting information about this subject. Can anybody help me in this matter?…
2
votes
1 answer

BlackBerry 10 - Photos from partial contact

I am developing an application that needs to list all contacts in the phone's contacts list. Each cell needs to have the name of the contact and the corresponding photo (primaryPhoto). I can do this, by fetching contactDetails for each contact.…
2
votes
2 answers

BB 10 Cascades Internet Check

I need to check the Internet Connection If I get Socket Error. I am proceeding like this, void Client::socketError(QAbstractSocket::SocketError socketError) { HttpPost("https://www.google.co.in/"); } void Client::HttpPost(QString URL ) { …
Sharath
  • 315
  • 1
  • 3
  • 13
2
votes
0 answers

TextFitProperties usage

Blackberry Cascades 10.2 import bb.cascades 1.2 Page { Container { layout: AbsoluteLayout { } Label { preferredWidth: 200 preferredHeight: 150 layoutProperties: AbsoluteLayoutProperties { …
Mercurial
  • 2,095
  • 4
  • 19
  • 33
2
votes
1 answer

check if table exist/created already in BB 10 cascades

I am creating a table in BB 10 cascades like const QString query("CREATE TABLE IF NOT EXISTS push (seqnum INTEGER PRIMARY KEY AUTOINCREMENT, pushdate TEXT, type TEXT, pushtime TEXT,alertId TEXT, extension TEXT, content BLOB, unread…
Sharath
  • 315
  • 1
  • 3
  • 13
2
votes
1 answer

how to create listview for json parsing in blackberry cascades

Am created json webservice. I got response in cpp file How to show received json data in qml page ListView *listView = root->findChild("listView"); shows root was not declated in scope Please tell how to bind list into main app My code…
Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
2
votes
1 answer

json array listview in blackberry cascades

1.Array Type {"DATA": [ {"CategoryID":"3","CategoryName":"News","CountryID":"1","Result":"OK"}, {"CategoryID":"4","CategoryName":"Daily…
Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
2
votes
1 answer

How to handle touch events of custom control in blackberry10

I have a custom control called customContextMenu.qml, which has an image and label in each row. I want to handle the click/touch on that image and label together. How should I do that? Currently, I add onTouch() in each container containing image…
sumitl
  • 103
  • 1
  • 8
2
votes
2 answers

separate .cpp file for every qml in blackberry 10

In my application i am using navigation pane. and i want to make separate files for every QML Let suppose this is my file applicationui.cpp // initial load // Create scene document from main.qml asset, the parent is set // to…
2
votes
3 answers

HTTP Communication example in native SDK for Blackberry 10

I am new in Blackberry 10 development and now currently working on HTTP communication demo. Anyone please share with me proper example of HTTP request and response in QML source. I am using Momentics IDE and QML source for Blackberry 10…
Sunil Targe
  • 7,251
  • 5
  • 49
  • 80
1 2
3
25 26