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 create a read/write folder under asset?

I'm developing a BlackBerry 10 mobile application using the Momentics IDE 2.1.2 (native SDK). I created a folder that I named "server" under "assets/images/" folder where I will save the downladed images from server. For a reason I don't know, when…
1
vote
1 answer

'Camera' does not name a type BB10

#ifndef CAMERAHANDLER_H_ #define CAMERAHANDLER_H_ #include class CameraHandler: public QObject { Q_OBJECT public: //… constructor destructor etc void setupControls(const QString &camName, const QString…
kayoka
  • 63
  • 2
  • 6
1
vote
0 answers

How to access android data from blackberry native app?

I have an android app repackaged for blackberry 10. This app is published on Blackberry World. Now I want to replace this app with its native (Cascades) version. My problem is that all user persistent data got lost after upgrade. Apparently I need…
1
vote
3 answers

bb10 cascades clear GroupDataModel crash

i'm developing blackberry 10 app. i have some trouble using GroupDataModel. this is the code : GroupDataModel *searchModel; if (searchModel != NULL){ qDebug() << "Masuk sini"; …
1
vote
1 answer

Image rotation issue in blackberry cascades

I have an app where users can take and save their profile pic. I'm using https://github.com/RileyGB/BlackBerry10-Samples/tree/master/WebImageViewSample sample from github to load image from url to my view and it works fine. The problem is when I…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
1 answer

Unable to access Qsettings value inside listview item component in blackberry cascades using qml

I have a listview in my homepage which has a custom listitem component. I have a value in my Qsettings variable which I can access in homepage but I'm unable to access the same inside the custom listitem component. When loading the homepage the…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
1 answer

Launching a new activity with onClick

I am trying to develop for BlackBerry and I am just playing around with it to try and learn the basics. So this is really simple but how do I launch a new activity using a button? I have the onClick property in the QML file and I don't know which…
user3535901
  • 3,518
  • 2
  • 13
  • 10
1
vote
0 answers

Custom fonts in blackberry cascades using qml

From blackberry 10.2 I can use FontFaceRule like below to use custom fonts. But I need it to support from 10.0. Is there any way to do this? If not, is it atleast possible that I can check the sdk version in qml so that if the sdk version is > 10.2…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
1 answer

Calling of function of one page from another page in blackberry cascades using qml

In my application I have a main.qml which has a navigation pane that goes to homepage.qml and from there to profilepage.qml. When I come back from profilepage to homepage I need to trigger a function in home page. I noticed that whenever I pop back…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
0 answers

How to create a swipe animation in blackberry cascades QML

I have a listview which has a customlist component and this component has two view inside (swipeleftview and swiperightview). I have implemented the swipe handler that shows these views correctly based on swipe left and right. Currently on my swipe…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
1 answer

ListView not getting updated in blackberry cascades qml

I have a list view whose data I receive from an api call say in the order 1 2 3 4 5 After I click on one item say 3, I make the api call that gives the data in the order 3 1 2 4 5 and I need to display the same. But my list view currently populates…
Francis F
  • 3,157
  • 3
  • 41
  • 79
1
vote
1 answer

Exposing complex C++ Qt object to QML

In a C++ file, I have an object of the type QList*, which is supposed to be a two dimensional String array. Currently, in C++ I am able to do this: // this will display the QString value in the Console, // where entries is of type…
DrKaoliN
  • 1,346
  • 4
  • 25
  • 39
1
vote
1 answer

recipe for target 'o.le-v7-g/.moc/moc_applicationui.cpp' failed

I'm developing a BlackBerry 10 mobile application using the Momentics IDE (native SDK). For a reason that I don't know, momentics show always the following debug error even when I create a new cascade project : "recipe for target…
1
vote
1 answer

Firebase email or Facebook authentication with BlackBerry 10

I want to use Firebase with a BlackBerry 10 Native + Cascades App. The problem is Firebase has no libraries for BlackBerry 10. I have done some research saying that I can use the REST API, but I cannot find anywhere on how to do email or facebook…
lvandyk
  • 145
  • 1
  • 7
1
vote
0 answers

Blackberry 10 - Generate WebViews programmatically and set listener for events

I´ve created a Blackberry 10 project with Cascades. Now I´ve to populate the main view with some WebViews and setup the event listeners between the WebView and the applicationui.cpp file. Right now I´ve added just one WebView to the main view and…
reixa
  • 6,903
  • 6
  • 49
  • 68