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

Update WebView content after QNetworkReply has finished

I am loading JSON from a web service with a QNetworkRequest which I then put into a JsonDataAccess object. I can parse the JSON and everything is fine. But I want to format the JSON string to HTML and display it in a WebView which seems to not work…
Sebastian Wramba
  • 10,087
  • 8
  • 41
  • 58
0
votes
2 answers

How to call a QML function from c++ in BB10

How to call a QML function from c++ code in BB10.? My QML function- function loadingData(data) { evaluateJavaScript("createChart('" + data + "')") } Now how can I call this "loadingData" function from c++. Please help...
user2085965
  • 393
  • 2
  • 13
  • 33
0
votes
1 answer

How to split string in blackberry cascades

I have a json array data like {"RegistrationResult":"Registered Success:Empid:157:TableName:COMPANY156"} Now how i want split the string and show the list view in qml like the follwing Registered Success Empid = 157 TableName = COMPANY156 Please…
0
votes
1 answer

BBM connected app interoperability between BB10 and BB Java

Will a java based (OS5) BBM connected app be able to list the contacts who use the bb10 version of the app, if both apps use the same UUID ? I would like to release a bb10 app with the same uuid as used in bb7 app, if the bb10 app can download the…
rfsk2010
  • 8,571
  • 4
  • 32
  • 46
0
votes
1 answer

Can not focus (click) on controls in container blackberry cascades

I have a Page like below : import bb.cascades 1.0 NavigationPane { id: nav Page { // Root container Container { layout: DockLayout { } // Background ImageView { …
Phuc Tran
  • 7,555
  • 1
  • 39
  • 27
0
votes
1 answer

TypeError: Result of expression 'dbMasterObject.updateIntoTestResult' [undefined] is not a function

I am doing a database operations in my project. I have a file 'dataBaseMaster',which has a function updateIntoTestResult(). I have created a dbMasterObject by setting context like this qml->setContextProperty("dbMasterObject", dbMasterObject); but…
sumitl
  • 103
  • 1
  • 8
0
votes
0 answers

bb 10 cascades sqlite relationship table

I need to create two tables like, Table Name-1 ID : primary Kay(Integer) Name : String Status : Boolean DateTime : Data…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
2 answers

how to use json webservice in blackberry cascades

1.how to use json web service in blackberry cascades. 2.i need to get data from url link into qml page. give suggession with some sample if possible. 3.my web service link contains array type for eg: { "address":["area": "chn", "city":…
Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
0
votes
0 answers

Determine Device Password and Encryption state on BB10 (ndk)

Is there an API that allows one to determine whether Device Password and (memory) Encryption are turned on by the user? I'm using the C++/qml Stack at API Level 10.2
Markus Bruckner
  • 2,852
  • 2
  • 24
  • 29
0
votes
1 answer

BB10 - Sending SMS from cascades app

I am using the following code to send an SMS from my app; void App::sendSms(const QString &messageText, const QStringList &phoneNumbers) { bb::pim::account::AccountService accountService; bb::pim::message::MessageService…
Jake Evans
  • 978
  • 5
  • 13
  • 33
0
votes
1 answer

Handling display orientation on startup

I'll start with an example ImageButton { defaultImageSource: "asset:///images/test_p.png" pressedImageSource: "asset:///images/test_p_pressed.png" attachedObjects: [ OrientationHandler { //gives "orientation" …
Bojan Kogoj
  • 5,321
  • 3
  • 35
  • 57
0
votes
1 answer

Create a json file , write Json data into it and Load the file into JsonDataAccess in bb 10 cascades

I have this method call QList SocketBase::readAllSymb(QTcpSocket *socket) { QList listAll; int bytesAvail = waitForInput(socket); if (bytesAvail > 0) { //int symbolCount = 0; int cnt = 0; bool endOfLine =…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
2 answers

How to load source data in GroupDataModel for ListView in Blackberry 10 cascade?

Here is my line of code where I want to load source: data from xml file which is located in my device shared folder. The path of that xml file is QFile textfile("/accounts/1000/shared/documents/myData.xml"); My code is: import bb.cascades 1.0 import…
Sunil Targe
  • 7,251
  • 5
  • 49
  • 80
0
votes
0 answers

Blackberry 10: Code coverage and profiling for Cascades based applications

I would like to run my Blackberry 10 Cascades application with code coverage and profiler. To my wonder when I create Blackberry 10 Cascades application the IDE does not give any option for building it with Code Coverage or Profiler as it gives with…
0
votes
2 answers

Unable to include static library containing QObject class into Cascades project

I work on the new BB10 platform based on Qt. I have one static library project which defines a QObject class (basically the class sends signals and has a few slots). The project compiles fine and provides me with a nice libwhathever.a file When I…
Ika
  • 1,608
  • 14
  • 15