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
2 answers

How to configure the zoom level in the Map?

I'm developing a BlackBerry 10 mobile application using the Momentics IDE (native SDK). I want to display a map using the mapview qml element which seems that it belongs to the blackberry team (it's not a google map). [ Blackberry 10 mapview ] All I…
0
votes
1 answer

Query to return Count using QtSql

How can I execute the following query using the QtSql library? const QString createQuery = "SELECT COUNT(*) FROM movies;"; I tried the following code, but that returns a bool. QSqlDatabase database =…
Kartik
  • 45
  • 1
  • 4
0
votes
1 answer

Loading data from database for BB10

I followed the database creation app on http://developer.blackberry.com/native/sampleapps/ but I can't figure out how can I create the database/retrieve data when my app loads. Can someone help me with good reference books for using sqlite3 with…
KKa
  • 408
  • 4
  • 19
0
votes
1 answer

How to change property of other objects in QML

I have the following in a bb.cascades QML file: Container { id: rangeSelector bottomPadding: 5 layout: StackLayout { orientation: LayoutOrientation.LeftToRight } Container { Button…
meaning-matters
  • 21,929
  • 10
  • 82
  • 142
0
votes
1 answer

Tracing touches in SegmentedControl for BlackBerry 10

I have a SegmentedControl on my Page and I want to call methods on a C++ object when the selected value has changed. Each selectable Option has its own method to call. I need to know if the Option was set by touch or by code, because if the method…
pinki
  • 902
  • 2
  • 12
  • 29
0
votes
1 answer

Horizontal Scroll of images

I want to create horizontal scrolling images. If you saw "Blackberry Travel" app, in this app at the top images scroll dynamically. I want to create same scrolling view. Also at the bottom of image we can see circles. As image changes, particular…
GoNish
  • 1
  • 1
0
votes
1 answer

Panorama in BB10

I used this code to start the camera on BB10. Container { // ... onCreationCompleted: { var cameraUnit = getCameraUnit(qmlCameraObj.supportedCameras); if (cameraUnit != null) { qmlCameraObj.open(cameraUnit); // ... } // ... } Is there…
Zacharias Manuel
  • 8,983
  • 1
  • 17
  • 30
0
votes
0 answers

How to register icon for custom extention

Can I register an icon in Blackberry for my own file extension (*.mgn), so that my icon will appear in the file manager and in the file selection dialog instead of the standard icon? I used Invocation Framework to register the extension itself. I…
0
votes
1 answer

How can i navigate to Home Screen in blackberry using qml?

Hi i have the doubt for the following scenario. Home Screen -> Second screen (Push ) Second Sreen -> Home Screen (Pop) Second screen-> Thrid screen (push) Works correctly. Now I need to Third Screen -> Home Screen home.qml import bb.cascades…
Ramki Anba
  • 754
  • 1
  • 10
  • 21
0
votes
1 answer

How can i show the image within the circle using qml?

Hi I'm new to blackberry. I want to show the image within the circle using qul.
Ramki Anba
  • 754
  • 1
  • 10
  • 21
0
votes
1 answer

Share Invoke is sometimes blank

I have a strange bug using a share invoke. About 1 in 3 attempts to share will result in no text being shared. Usually the first share will work but further attempts will not work. Randomly it will start working again. This happens with bbm,…
hyarion
  • 2,251
  • 2
  • 17
  • 28
0
votes
1 answer

BB 10: Difference between cascade, core and web-works app

I want to know basic difference between Cascades, Core and WebWorks apps. Can WebWorks-based apps interact with device apps? Or they can simply run on web end? Please somebody clear it for me. Thanks in advance.
0
votes
1 answer

BB 10 : Unable to read contact.phonenumbers() value in cascade programming

I am a newbie in bb 10 app development. I am trying to read contact details for this I am able to read first name and last name (any type of single data type value). But in case of QList value I am unable to find value. Here is my…
Eli Moon
  • 73
  • 10
0
votes
1 answer

Draw a circle on Cascades MapView

I'd like to draw a circle over a MapView to show all the points that distance e.g. 20 meters from a point. I searched on the documentation but I found only ways to draw polygons given a set of coordinates, while I need a way to draw a circle given a…
0
votes
1 answer

How to navigate to 3rd page from 2nd page in NavigationPane

I have 3 pages with a BlackBerry 10 project The first page is a navigation pane that contains a page with a list The second page is Page that contains a list The third page is another Page containing a different list I want to be able to tap an item…