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

BB 10 App Crashing in device,but working good in simulator

I have developed an BB 10 app, It is working well in the simulator.The same app is not working in the device.I want to know , why it is crashing in device. Is there any way to know the reason for crashing after installing in the device, so that i…
Sharath
  • 315
  • 1
  • 3
  • 13
1
vote
1 answer

How can I properly animate the removal of an item from a data model in Cascades?

When I try to animate the removal of an item from a data model, the item gets removed, but apparently because the animation I am using sets the item's dimensions to 0, the next item added to the data model is not visible. To see it, I have to reload…
Jace
  • 1,445
  • 9
  • 20
1
vote
1 answer

Blackberry 10 cascades InvokeActionItem title changing onlanguage switching

Please find the below Qml code, actions: [ ActionItem { title: qsTr("Custom Market Watch") + Retranslate.onLanguageChanged ActionBar.placement: ActionBarPlacement.InOverflow …
Sharath
  • 315
  • 1
  • 3
  • 13
1
vote
2 answers

is there a way to draw on the screen using finger with Qml

is there a way to draw on the screen using my finger i'm creating a Blackberry-10 application like draw something as a school assignment
SocoM
  • 332
  • 4
  • 19
1
vote
2 answers

How to integrate native blackberry 10 or wikitude SDK with webworks?

I am working on a BB 10 app using Webworks . I have almost completed it but the clients want to implement wikitude SDK for AR . But it only provide SDk for native blackberry 10 . Is there a way to implement wikitude with Webwork . Or a way to…
1
vote
1 answer

Dynamic group name display for list view in BB 10 cascades and also in Android

I am working on BB 10 cascades application and Android application. I have a requirement i.e, I should display a list view which is sorted according to their groups but in UI the group name should display only the 1st list item which is appearing on…
user2085965
  • 393
  • 2
  • 13
  • 33
1
vote
2 answers

add a contact to BBM from my BB 10 cascades app

I am new to BB 10 cascades and Black berry Platform provided features. I would like to add a contact say 3BDAEE2D to BBM Contacts from my BB 10 Cascades Application. How to do it Programatically? please suggest me a way so that I can Quickly solve…
Sharath
  • 315
  • 1
  • 3
  • 13
1
vote
0 answers

terminate the BB 10 app on Alert button ok pressed

I have a socket connection App in my BB 10 cascades, when ever socket connection is closed i need to show a dialog box and when pressed on OK button app need to close. please find my code here... void SocketBase::writeLine(QTcpSocket *socket, const…
Sharath
  • 315
  • 1
  • 3
  • 13
1
vote
2 answers

How Can I Save A XML Data Model Implemented In a ListView In QML for Blackberry 10?

Im doing a list view with a XMLDatamodel and i trying to save data in my xml file because i want to keep safe this information after the aplication closes. I just want to save the text on textarea in "body" of my xml file when the button below is…
1
vote
1 answer

Toggle button in tabbed pane Blackberry 10 QNX

I would like to know if it is possible to add a toggle button to a tabbed pane. Here is some code to explain the issue: TabbedPane { showTabsOnActionBar: false Tab { title: qsTr("Some tab") + Retranslate.onLocaleOrLanguageChanged …
Lunchbox
  • 1,538
  • 2
  • 16
  • 42
1
vote
0 answers

Blackberry 10 - Assets Warning

Recently started learning and developing(QML with momentics ide) for BB10 and the applications seem to work. However while building I've been getting warning ".Assets need to be packaged only once". All the icons and images have been placed in the…
A User
  • 11
  • 2
1
vote
1 answer

navigation pane using c++ in blackberry cascades

Am using Json web service to get response When i press a button i have to push to new page when respone is success else have to show a toast -- already registerd I will get response either "Email id already registered" or "Registered success" When…
Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
1
vote
1 answer

QObject::findChild returns null, can't find cross QML objects

I have a question about accessing QML components on the C++ side, sorry it might be little beginner. I am currently working with the sample map view, the app alone works great, but after I try to put this sample together with a navigation panel, it…
Bohao Wang
  • 89
  • 6
1
vote
1 answer

How to pass data to java script file in BB10 cascades.?

I need to show line,bar and candle charts in BB10 cascades. I have all 3 java script files, but I need to pass data to those script file through c++ code. How can I do that in BB10 cascades.? Please Help. Thanks in advance.
user2085965
  • 393
  • 2
  • 13
  • 33
1
vote
3 answers

.pro file in BlackBerry 10 development

I am learning BlackBerry 10 apps development and referring BlackBerry's documentation for this . I have downloaded their sample apps but in those projects I have seen the following code in .pro file . TEMPLATE = app TARGET = addressbook CONFIG…