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

BB10 cascades c++, How to know app is running in background?

I am working in one BB10 Cascades app, QML and C++, i want to run one scheduled task in background thread, when user minimized the app(show only thumnail in desktop now, but not quit the app). How can know the app is running in background now? I…
0
votes
1 answer

Invoking SMS composition in the simulator

Following the BlackBerry documentation on the Invocation Framework, I'm trying to invoke opening a contact, and SMS and E-mail composing. The contact opening works fine, but I cannot get the SMS and E-mail composition to work in the Simulator. The…
Eir
  • 1,003
  • 9
  • 24
0
votes
1 answer

Blackberry 10 Cascades: setting textStyle.lineHeight on Label clips text

I have the following QML (Hosted in a TabbedPane, if that could possibly make any difference): Container { Label { text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." multiline: true textStyle.fontSize:…
ManicBlowfish
  • 2,258
  • 2
  • 21
  • 29
0
votes
2 answers

BlackBerry 10 Native SDK - CellID always returns 0

CellID & LocationAreaCode always return zero on my device: Sample Code: int cellId = bb::device::CellularNetworkInfo().cellId(); int LAC = bb::device::CellularNetworkInfo().locationAreaCode(); The above will ALWAYS be zero Strangely signal…
0
votes
1 answer

What is the purpose of the AttributeKind Group and the AttributeSubKind GroupDepartment in BB10 Cascades?

Anyone figured it out? I don't see those fields used in the Contacts app, neither does the documentation provide any clue. #include
Eir
  • 1,003
  • 9
  • 24
0
votes
1 answer

Extract a version number from bar-descriptor.xml file programatically

Is there a way to extract a version number and other information from bar-descriptor.xml file similar to how it's done in Android world via getPackageInfo() in PackageManager?
Sunseeker
  • 1,503
  • 9
  • 21
0
votes
0 answers

Slide a navigation pane to the right and move a ListView from Left

In the image below, imagine the Menu I have implemented as a ListView. On the right hand side (the dialog which slides to the right, for the menu to show), I have a NavigationPane. I learned how to slide pages if I have two containers in one page…
user2054339
  • 393
  • 1
  • 6
  • 20
0
votes
2 answers

BlackBerry Cascades 10 Maps example keeps showing black screen

I am trying to run the maps example Qml however my MapView keeps loading as a just black. I checked the console output and spotted this. slogger2 buffer handle not initialized. ../../lgmon_api.c, logEvent(), around line 578! cpp:: Created document…
Tjaart
  • 3,912
  • 2
  • 37
  • 61
0
votes
2 answers

Create a simple ListView Cascades

I want to create a simple ListView in Cascades (either in C++ or QML). The data of the ListView is simple, just strings that I want to pass to it (no XML or SQL etc.); Also the ListView may have sections, e.g., - Green - Cucumber …
user2054339
  • 393
  • 1
  • 6
  • 20
0
votes
1 answer

Create a menu on the left

Here: http://developer.blackberry.com/cascades/documentation/ui/navigation/single_screen.html#joh1349181654901 I learned how to create an action menu on the right. I would like to create a similar menu however which shows from the left. Can someone…
user2054339
  • 393
  • 1
  • 6
  • 20
0
votes
1 answer

Drop Box Application for BB-z10

i have developed an application that iterate through all the files in "/accounts/" folder and open file for some specific need,but when i try to run the app it starts downloading images from box application why so?
0
votes
1 answer

How to push QML page on button click in C++ code

I am developing one BB 10 app in which I have coded first page (with NavigationPane) in C++. Now I want to push another qml page in NavigationPane on button click. I have tried following code with no luck QmlDocument *qml =…
silwar
  • 6,470
  • 3
  • 46
  • 66
0
votes
1 answer

BlackBerry Cascades sending email without user interaction

i would like to send email without user interaction...means user just need to press a button and mail automatically get send to the particular person.... and also how to get information like device id, OS version , currently running/installed apps…
0
votes
2 answers

Reconciling BAR descriptors QNX IDE

Hello Everybody, I am importing a sample project "Bucket-list" from Github https://github.com/blackberry/Cascades-Samples/tree/next/bucketlist in QNX IDE but not able to import successfully . Getting error . Please have a look on…
AK Joshi
  • 877
  • 6
  • 20
0
votes
1 answer

Enter superscript in textfield

How can I enter a superscript in a text-field in blackberry cascades. I am making a small maths apps and need to enter some text in superscript(variables power)? If this is not possible can you suggest some possible workaround. I am using these in a…
Master Chief
  • 2,520
  • 19
  • 28