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

List view not working - not navigating to different pages

I have a list view containing 5 items and I want each item to navigate to a different page when tapped. All I want to happen is to navigate to a different page NOT pass any data (as many tutorials keep saying) so how this be achieved. Examples also…
0
votes
1 answer

Build application in blackberry native sdk 10.2

when I running an application from blackberry momentics ide (SDK version 10.2) showing the device version 10.2.0.341 does not support the api level(blackberry native sdk 10.2). I thought it may be for device os version greater than SDK os version.…
java seeker
  • 1,246
  • 10
  • 13
0
votes
1 answer

How to set cookies for webview in blackberry 10?

can anyone please help me to set the cookies in a webview in BB10 below is my trial but it's not working in qml WebView { id: webview horizontalAlignment: HorizontalAlignment.Center verticalAlignment:…
Zak
  • 571
  • 2
  • 6
  • 13
0
votes
0 answers

How to invoke my app

I want to invoke my app when user click on a link("www.xyz.com/myapp") from default blackberry browser or somewhere else when this link found and then open my app and perform task according to clicked link. to achieve this , using this docs…
Ankur
  • 1,385
  • 11
  • 21
0
votes
1 answer

Cannot debug on Z10, STL100-3

I am developing an app on Momentics. The app runs fine on my STL100-3 model Z10 but I cannot debug the app. When I launch the debug process, it continually terminates. I get the following error from the console Timed out. MsgNak received -…
Igbanam
  • 5,904
  • 5
  • 44
  • 68
0
votes
1 answer

date Time picker and calendar Customization in BB 10 Cascades

I would like to display the date Time picker and calendar Customization in BB 10 Cascades and display It like this. Here my question is what is the better way to do this, Customize the date Time Picker and calender and add set - cancel buttons…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

is it possible to set text for a Label from local file in bb cascades?

Now I am developing an application using bb cascades.We know that, it is possible to set strings contents such as text of a TextView etc... in layouts from String.xml file in Android. Like this, is it possible to set texts in qml from any local…
Asha Soman
  • 1,846
  • 1
  • 18
  • 28
0
votes
1 answer

How to set image received from a web service as ImagePaint in Blackberry 10.1?

I am populating a QVariantMap with JSON data which I'm getting from a web service. This data contains, among other things, URL for images. Now I want to use these images as ImagePaint in my qml file, but in Blackberry OS 10.1, setting the…
HumptyDumptyEIZ
  • 374
  • 1
  • 6
  • 18
0
votes
2 answers

how to access qml ContextProperty variable in ListItemComponent of ListView

I have problem to access exposed qml context Property variable in ListItemComponent. e.g applicationUI class: qml->setcontextProperty("activeFrame",mActiveFrame); main.qml ListView{ id:model listItemComponents: [ …
Ankur
  • 1,385
  • 11
  • 21
0
votes
1 answer

Read data from JSON file?

QVariant list = ja.loadFromBuffer(buffer); QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this); AbstractPane *root = qml->createRootObject(); ListView *listView =…
0
votes
2 answers

How to populate tab with an attachedObject

I have a TabbedPane with two tabs. The first has ListView which opens a message composing view when an element in the list view is selected. TabbedPane { attachedObjects: [ ComponentDefinition { id: cmp_page // ... other UI…
Igbanam
  • 5,904
  • 5
  • 44
  • 68
0
votes
1 answer

ActionBar hides WebView. How to change size of WebView to avoid this hiding

I have a Web view in my app and ActionBar hides a bottom part of Webview. What schould I do to fit my WebView to the screen above Action Bar? Here is my QML fragment: WebView { id: webViewObj …
0
votes
1 answer

App displaying default ICON in BBM connected apps list

I am working on BB10 app which has BBM functionality. I have registered with BBM, but when I see BBM connected apps list App is displaying with default App icon.How can I change default app icon to my own app Icon. Please Help!!!
user2085965
  • 393
  • 2
  • 13
  • 33
0
votes
1 answer

Push Notification if App is Closed

I am developing push enabled allpication. For that I have Integrated " Push Collector " sample from http://developer.blackberry.com/native/sampleapps/ .and hard coded app-id,PPG-URL etc. now my question is if my push enabled appication is closed,…
Sharath
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

Running application in background and catching incoming and outgoing messages

I am working on one app which I want to run in background and it should handle the event when any sms gets received and my application should receive that sms even if this application is closed. Till now my application is getting sms only when it…