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

BlackBerry 10 Development Switch case

I am developing one Calculator app in BlackBerry 10 and for that I am using switch case to get the button ID but I don't know how to get the ID of button in switch case. For Example: switch(?){ case…
0
votes
1 answer

Add dynamically button with click event

I am implemeting Multiple add button programmatically. I sucessfully add button but I can't able get click event for all button. I am always getting click on last added button. I want separately click event for all button. I am using this code for…
Niranj Patel
  • 32,980
  • 10
  • 97
  • 133
0
votes
1 answer

post to friends feed facebook without feed dialog

I'm creating an app using Facebook API in cascades BB 10. I have done the login part in C++ using qnetwork manager. I was able to post to my wall using HTTP post with graph API. I want to post to my friends wall. After searching, I found that it is…
0
votes
2 answers

XMLHttpRequest is not working in QML Blackberry 10

In the given code i have used one label and one button . i want that when i click on button a request must be sent which get the Json from the given link and print on label . but for this code i am just printing "OK" inside label upon success The…
IQworld Master
  • 593
  • 4
  • 13
0
votes
1 answer

Trying to add the result of a QGeoSearchReply to a maps::DataProvider in Blackberry 10 Cascades (C++, QT & QML)

I am trying to add the result of a QGeoSearchReply to a maps :: DataProvider, and have found a function called convertToGeoList at this site, and am trying to use it, but the documentation doesn't even tell me what class the function is part of - as…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

Listview with the given xml model

Hi I'm new to Blackberry 10 cascades development. I want to create a list with the below data model(which is placed in assests folder). Categories.xml
user2636874
  • 889
  • 4
  • 15
  • 36
0
votes
1 answer

groupdatamodel not taking in given order

The problem i am facing is that the data listed in list view is in ascending order in BB10. I have read from blackberry site that group datamodel will display data either in desc or asc order.I really want them to be displayed in list view in the…
0
votes
1 answer

BB10 cascades linking of contacts

I developing an application on BB10 cascades. I have contact A with attribute 'attr1' and contact B with attribute 'attr2'. Next, i link contacts A and B. When i receive contactdetails Cascades Api, it returns a contact A with attributes 'attr1'…
P_rnd
  • 153
  • 1
  • 1
  • 11
0
votes
1 answer

System dialog's background not blurred/blackened blackberry

I created a dialog.qml here's the code: Dialog { id: dialog signal sampleSignal(string text); attachedObjects: [ TextStyleDefinition { id: titleStyle base: SystemDefaults.TextStyles.BigText …
kev
  • 155
  • 1
  • 11
0
votes
1 answer

How to import QML file to another QML file in Cascades, Blackberry 10

This question maybe doesn't have anything common with Cascades, but I'm a newbe in QML so let it be. I have tabbed pane and I want to keep the contents of each page in separate files. Example: TabbedPane { Tab { Page { …
franza
  • 2,297
  • 25
  • 39
0
votes
1 answer

Working with RestFul Api From Blackberry 10 Application

I am new on BlackBerry 10 development and I am trying to get data from a RESTful service, but I don't have any idea how can I do it... Please if somebody can help me, It'll be nice. I have read all the documentation about the Network Access in…
Joe0588
  • 1
  • 3
0
votes
2 answers

How to call c++ function from qml and change the lable text

I'm new to Blackberry 10 development. I've created simple BB 10 cascades project. I want to change the text of a label through c++ function. main.qml import bb.cascades 1.0 Page { content: Container { id:…
Suresh Basina
  • 185
  • 1
  • 6
  • 14
0
votes
2 answers

Clearing textfield blackberry

How do I clear the TextField in blackberry? Here's the qml: Container { horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Bottom leftPadding:…
kev
  • 155
  • 1
  • 11
0
votes
1 answer

cascades - random button on a listview

I'm making an app and I have a listview, and I want there is a button that when pressed, make a triggered a random item listview, to the second page I have this button, but it does not work Button{ …
0
votes
4 answers

Saving the text to label from textfield blackberry

I want to display the recently entered text to the label. Here's the code for the qml: Container { horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Top …
kev
  • 155
  • 1
  • 11