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

Set default value in custom picker in blackberry cascades using qml

I have created a picker that shows list of countries and it works fine. Currently by default the first country is selected. I need to change it to another country. How should I do that? This is the picker I created Picker { id: picker …
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

How to create a flip animation in blackberry cascades QML

I'm new to blackberry cascades, I have looked into some of animations from the blackberry cascades samples from github but I'm not sure how to implement a page flip in and out animation instead of the default push and pop animation. Below is code of…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

How to reload Page in blackberry cascades QML

in my blackberry cascades app I have created a page using qml that loads data from backend after making an API call and works fine. But after I move to next page and come back I need to reload the data. i.e perform the onCreationCompleted operation…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

Edit list item in blackberry cascades QML

I have successfully created a list view that populates a json file which I have created now I'm trying to edit the list view item. But I'm having trouble doing it, I keep getting error TypeError: Result of expression 'curData' [undefined] is not an…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

SSH Library for Blackberry Application

I'm looking for some SSH Library for a Blackberry Application, because I'm developing with Momentics IDE and I need to launch a command to SSH Server. Googling I found nothing and here as well. Someone has an idea? I'm talking about a QML/C++…
keyro90
  • 11
0
votes
1 answer

make[2]: *** [o.le-v7-g/ApplicationName] make[1]: *** [debug] make: *** [Device-Debug]

I am trying to build blackberry 10 cascades application. When I am deploying the code to my device, I am getting below errors. Can you please help? make[2]: *** [o.le-v7-g/ApplicationName] Error 1 ApplicationName C/C++ Problem make[1]: *** [debug]…
JMD
  • 337
  • 4
  • 16
0
votes
1 answer

translationY equivalent to actually affect the layout

As per the definition of translationY: The translation is mostly useful for animations as it doesn't affect the actual laid out position of the visual node. This translation is added after the node has been laid out so it doesn't affect layout in…
KKa
  • 408
  • 4
  • 19
0
votes
2 answers

How can I deselect an item from ListView in cascade?

I'm developing a BlackBerry 10 mobile application using the Momentics IDE (native SDK). I have a simple ListView and I want to change the background of a specific item when clicked according to the selection status. I thought th code below will work…
0
votes
1 answer

Loading multiple images on a page for Blackberry 10

I am working on BB10 cascades. I am trying to load multiple images from network. I have referred following example and I have modified it to load a single image. Sample code is as follows: main.qml import bb.cascades 1.2 Page { Container { …
nitish005
  • 106
  • 11
0
votes
1 answer

Cascade QML TabPane - maintaining TabPane through multiple pages

I've been trying to research this all weekend, but can't find a similar example. I'm trying to keep a TabPane consistent through out multiple pages. As of right now, once you go past 1 page, the TabPane will no longer be there. For…
Mark Pieszak - Trilon.io
  • 61,391
  • 14
  • 82
  • 96
0
votes
1 answer

Invoking BBM Video/Audio from Workspace application

I am able to invoke BBM chat from workspace, but I cannot invoke Video/Audio chat. Is this available, or is it restricted? Here is my invocation code. InvokeManager invokeManager; InvokeRequest…
0
votes
1 answer

BlackBerry10: How to copy file from device to the pc

I want copy database and log files of my program to the PC. How can I do it?
Silnet
  • 101
  • 1
  • 6
0
votes
1 answer

Only few strings get translated after creating qm file

I used lrelease command to create the .qm file from .ts file. However, only few of the words get translated when I change the language. The funny part is one of the strings gets translated at one place and does not at the other. What could be wrong?
0
votes
1 answer

QObject::tr() not translating language properly

QLocale systemLocale; LOG_ERROR() << "SYSTEM LANGUAGE:" << systemLocale.languageToString(systemLocale.language()); LOG_ERROR() << QObject::tr("Welcome"); The second line prints the correct language, when I change the language from the phone…
Kartik
  • 45
  • 1
  • 4
0
votes
1 answer

Using QVariant for XMLDataAccess

I am using XMLData access for creating a xml file. Following is the code for creating the new xml file if(myFile.open(QIODevice::WriteOnly)) { QVariantList messageList; XmlDataAccess xda; QDataStream out(&myFile); // Iterate through all…
Timothy Drisdelle
  • 395
  • 3
  • 5
  • 14