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

Anyway to have an onLoad function in qml when adding to NavigationPane?

I'm new to Blackberry 10 dev. So I'm wondering what's the best way to do this as I'm not getting any clear answers from the dev docs. What I want is to start a separate view in my app from a navigation screen. The new page will then create a http…
sinkpoint
  • 71
  • 4
1
vote
1 answer

How to play SystemSounds in the Blackberry 10 Dev Alpha Simulator?

I am just trying to run the provided sample code which, as far as I know, should work just fine. Is there anything I am missing or is this a limitation of the simulator. If so, are there any workarounds? import bb.cascades 1.0 // To use the…
tcdowney
  • 317
  • 2
  • 5
1
vote
3 answers

How to add a custom font (.TTF) in BB cascades?

I am developing an app in which I need to have a label with my custom fonts. I can't find a solution to load a .ttf file into qml. Any ideas?
Arul
  • 11
  • 2
1
vote
1 answer

Add Emoticons in BlackBerry 10 App?

I need to insert the emoticons/smileys in my app. is it possible in bb 10 ? Any built in code for that or need to customize that images in the app? i have enabled the emoticons in textfield and labelfield using the following code.it works but i…
SelvaRaman
  • 218
  • 2
  • 15
1
vote
3 answers

Unable to load JSON DataSource over https in BlackBerry Cascades

Loading my JSON DataSource through https seems to be failing. It works when I load the url in a browser on my BlackBerry 10 device but fails when I try to use that url in Qml. This is what my DataSource object looks like: DataSource { id:…
Tjaart
  • 3,912
  • 2
  • 37
  • 61
1
vote
1 answer

How to upload the Image to server in blackberry 10 cascades?

I have tried the following code for image uploading,in this code am able to get the response from server but the image size is always zero in server.Can anyone help me about this regards, void App::uploadImage(){ QString path(QDir::currentPath()…
SelvaRaman
  • 218
  • 2
  • 15
1
vote
1 answer

BB10 - ListView filter or search function?

I have ListVIew that is filled with hard-coded DataModel. Then I want to create DropDown menu that contains the dataModel header. When I select the DropDown option, I want ListView to only show the items for the selected header. So, my questions…
hrsetyono
  • 4,474
  • 13
  • 46
  • 80
1
vote
3 answers

XML not changing in ListView

I'm trying to make an example to make the XML dataModel change dinamically in my .qml file (when I click the button) using C++. For that, I'm returning a Qt property (GroupDataModel). But after returning the object, the ListView doesn't change,…
Dielson Sales
  • 1,715
  • 1
  • 20
  • 25
1
vote
1 answer

Passing a const reference of a NavigationPane results in error

Using BlackBerry 10 Cascades, I create a class: MyClass : public QObject { QObject public: MyClass(const bb::cascades::NavigationPane & navigationPane); //... protected: bb::cascades::NavigationPane m_navigationPane; In the ccp…
TigerCoding
  • 8,710
  • 10
  • 47
  • 72
1
vote
1 answer

Upload image to the server blackberry 10 qml

i need to upload the image to the server i have used file picker to fetch the image, i have attached my sample code but its not working my file picker code ` Button { text: "Change Profile Image" …
Vendetta
  • 513
  • 2
  • 16
1
vote
2 answers

blackberry 10 cascades tabbedpane

i have used NavigationPane in Sign.qml page,After user Logins it will go to Homescreen.qml in Homescreen.qml i have used TabbedPane, while clicking the Login button (Signin.qml)i am getting response,but can't able to go to Homescreen.qml hereby i…
Vendetta
  • 513
  • 2
  • 16
1
vote
0 answers

How to make controls like DateTimePicker to expand even if there is no space

My problem is that i have few controlls on page in stack layout. And when i click DateTimePicker it is trying to fit on page and since there is no space i see only small piece of controll. I have seen that there is no such behaviour in settings…
bunny1985
  • 762
  • 6
  • 21
1
vote
2 answers

Blackberry 10 cascades onClick not working

i have written a onClick function in BB-10 ,while Clicking i can't able to push another qml file the on click function NavigationPane { id: navigationPane Button { text: "LOG IN" onClicked: { var test =…
Apple
  • 121
  • 2
  • 12
1
vote
1 answer

Push a screen from a TabbedPane

How can you push a screen on top of a TabbedPane? I know this is possible with a NavigationPane like below : NavigationPane { id: navigationPane Page { Container { Label { text: "First page" } } actions:…
ivarrian
  • 117
  • 1
  • 1
  • 9
1
vote
1 answer

Blackberry 10 Cascades onclick

How to call a screen while clicking a button in Blackberry 10 cascades? I have tried this code but it's not working, Button { text: "Sign-in" onClicked: main.qml } Can any one send me some sample codes, for on-click function? Thanks
Vendetta
  • 513
  • 2
  • 16