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

Retrieve timerID on time based trigger invocation? BlackBerry 10

I want to get the timerID for a time based trigger headless app. I get the trigger to fire and invoke the headless portion of my app, but the problem is that I cannot fetch the timerID. Is there any way to get the timerID from the request? I've…
Dave
  • 17
  • 4
0
votes
0 answers

Blackberry 10: Unable to record voice

I want to record call voice during the call time on BlackBerry 10 OS. For this I used Telephony Phone and Call State Listener. I start as found Call State "Connected" and stop when call "Disconnected". But at start time recorder records only 160Byte…
0
votes
1 answer

cascades bb10 qfile remove

i wanna delete/remove a file from storage. the file is store in the "/shared/photos/". this is how i store the file QByteArray* data; //some image data QImage image; image.loadFromData(*data); QFile…
0
votes
1 answer

Network connectivity check in blackberry cascades 10

I'm trying to perform a network connectivity check whenever user opens the app or whenever app comes in foreground. Below is the sample code void ApplicationUI::onFullscreen() { qDebug()<<"Application has entered foreground"; …
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

bb10 cascades Sharing Image to Social Media

I'm working with this feature where user can share an image to social media such as Facebook and Twitter. The image is the screenshot of some screen. and when the screenshot is taken, i checked on the gallery and the image is located to…
0
votes
1 answer

Cascades bb10 how to taking screenshot with API Level 10.0

Is there any other way to take screenshot by code ? I read this post How to programatically take a screenshot on BlackBerry 10 using cascades? and i read this too…
0
votes
1 answer

Accessing global variable in multiple qml files in blackberry cascades 10

I have created a js file for storing constants inside assets/Model/constants.js I had a view inside assets/homeview.qml. This homeview.qml imports import "Model/constants.js" as Global and I could access Global.myConstant with no error. Now I…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

Blackberry Cascades Pinch to Zoom

So I've recently started working with BB cascades and is currently working on the camera component. Here's my code with which I 'am currently facing problem: import bb.cascades 1.2 Page { property string name: "" function…
Qwerty
  • 67
  • 1
  • 1
  • 6
0
votes
0 answers

Reference error when Calling a QML method to refresh listview from cpp file in blackberry cascades 10

EDIT I have created a listview in my homepage, I have written a function to reload the listview in a function called reloadView. Now when I receive a push notification I need to refresh this listview. Currently when I receive push notification I…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
1 answer

Custom listitemcomponent update issue in listview in blackberry cascades using qml

I have a listview with custom listitemcomponent that displays list of names, when I swipe on the name it shows user full name and profile pic, in order to achieve this I have created 2 views (view 1-with just names (initial display view), view 2-…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
2 answers

Display buttons in the middle of the screen in BlackBerry 10 app using qt c++

I wanted a screen in my application which should look like this: This means the button in the screen should appear in the centre for screen both horizontally and vertically. Does anyone how to do it. I have written the following code but its not…
Mayank
  • 1,099
  • 4
  • 17
  • 44
0
votes
1 answer

BB10 Cascades simple location information

I'm new to both C++ and BB10 development (Cascades), and have been having a difficult time learning Blackberry's semi-implementation of Qt's QML. I have an app I'm working on and I'd like to get the phone's Latitude, Longitude, and other address…
dmux
  • 442
  • 7
  • 24
0
votes
1 answer

Update listview when coming back to app from background in blackberry cascades using qml

in my homepage I have a listview that display some data and refreshes the data and it works fine. What I need to do is to refresh this list when I come back to the app after going out. I have already written the code for refresh in my function…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
0 answers

Listview refresh issue in blackberry cascades using qml

I have 4 pages in my application that goes in order main.qml, login.qml,home.qml and profile.qml. home.qml has a listview that list some data which can be modified in profile.qml. So whenever I come back from profile.qml to home.qml I need to…
Francis F
  • 3,157
  • 3
  • 41
  • 79
0
votes
0 answers

Autofit labels in blackberry cascades using qml

I have a list view that stretch to device width that shows a list of names, I need to make the label fit the total width, just like autofit. So if its a short name it should have max font to fit to view width or if its a long name the font size…
Francis F
  • 3,157
  • 3
  • 41
  • 79