Questions tagged [blackberry-10]

BlackBerry 10 is a QNX-based mobile platform developed by BlackBerry (formerly Research in Motion). It is the successor to the BlackBerry Java platform and was launched to consumers on January 30th 2013. Be sure to read the tag wiki (click on learn more) before selecting question tags.

BlackBerry 10 is a QNX based mobile platform created by BlackBerry (formerly Research in Motion). The officially supported development approaches are:

  • Native (C/C++) - This includes a UI framework called Cascades which developers can use to design and layout UI components

  • WebWorks (HTML5) - BlackBerry® WebWorks™ allows web and mobile web developers to use the SDK in combination with their development tooling of choice to develop, test and package up their web applications for BlackBerry tablets and smartphones.

  • Android runtime (Java) - BlackBerry 10 includes the Android 4.2.2 (Jelly Bean) runtime so Android apps can be repackaged to run on BlackBerry 10 devices

  • Adobe AIR (Actionscript) - BlackBerry 10 includes the Adobe AIR runtime to allow AIR apps to be repackaged to run on BlackBerry 10 devices

  • Development for BlackBerry OS - Use your existing JavaScript/CSS/HTML skills to bring your app to existing smartphone users. Develop using HTML5, JAVA, Theme Studio

BlackBerry 10 was officially launched to developers in May 2012.

The operating system, as well as two devices, the Z10 (a full touchscreen device), and the Q10 (a device equipped with a physical keyboard), were announced simultaneously around the world on January 30, 2013.

When asking a question, please use one of the following tags to specify platform:

For simulator do not use tag, instead use . For Eclipse plugin use .

1386 questions
2
votes
2 answers

BlackBerry 10 browser submits form using browser submit button when using preventDefault

As I'm working on a mobile version of our company website I ran into, what I believe is, an issue with the BlackBerry 10 browser. (I'm using the Q10, version 10.1.0.4181) I'm using jQuery to bind to the submit event on a form to do an AJAX call, so…
2
votes
1 answer

is it possible to run blackberry OS 10 in blackberry OS 6,7 and 7.1

I am new to blackberry development; please let me know is it possible to run blackberry OS 10 apps on blackberry OS 6,7 and 7.1? Or vice versa? Also i want know how to develop a flip board type application for blackberry OS 10, or OS 6 and 7.
2
votes
1 answer

Android has Services interface, what about BlackBerry 10 cascades

In Android mobile application development we have Services interface for perform long-running operations in the background and does not provide a user interface. What is the similar substitute for BlackBerry 10 Cascades development for long-running…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
2
votes
5 answers

Blackberry Cascades Context Menu From Button Click

I'm using BlackBerry-10 Cascades to develop an app. I want a context menu to open on the right when I click a button. Currently I have it so that the menu opens after a press- hold of the button but I need it to open as soon as the button is tapped.…
Habeeb Ahmed
  • 217
  • 4
  • 9
2
votes
2 answers

Dynamically set imageSource in ImageView Blackberry 10

Please help me.,i m stuck with this for more than a week.I am emitting a signal with image from my cpp file.I need to replace the default image that i placed in the imageView at QMl using this emitted image. Here is my full code. PostHttp.hpp /*…
Varghese Kiran
  • 95
  • 1
  • 1
  • 11
2
votes
2 answers

Fix width label with dynamic font size

Is there a way in cascades to get font size for a given text and fixed width? I was trying with: TextField{ autoFit: TextAutoFit.FitToBounds } But the text always appear left align. The requirement is to center align text with variable font size…
Shailesh
  • 490
  • 5
  • 11
2
votes
2 answers

How to execute Blackberry OS 6 app in Blackberry 10 OS

I developed one application in Blackberry OS 6.I deployed that app in to Blackberry world successfully.But it is not working in Blackberry OS 10.I am getting following error: Unsupported for this device Please help me how to run application in OS…
hcp
  • 279
  • 1
  • 5
  • 13
2
votes
1 answer

How to add cocos2d-x to BlackBerry 10 project?

I want to create a simple game for BlackBerry 10 and I want to use cocos2d-x as a game engine. I compiled and ran examples from cosos-2d-x on simulator and it works fine. But problem is when I create new project and reference to cocos2d-x project.…
Rafal Cypcer
  • 557
  • 1
  • 5
  • 17
2
votes
2 answers

Blackberry 10 Whitelisting

I'm using Phonegap 2.8.0 for a Blackberry 10 App. I can't whitelist https URLs. Other URLs are working for whitelisting. The http is…
2
votes
1 answer

Blackberry 10 compilation error on the default "Hello World' Sample

Hello I am new to Blackberry 10 development and after trying to compile my first "Hello World" application which comes as default with the package I get the following errors in the console. I am running windows 8 64 bit. Please note I didn't make…
tkames
  • 21
  • 2
2
votes
1 answer

IBM Worklight - Mac - "'WEBWORKS_HOME' environment variable is undefined"

I'm working to set up the BlackBerry 10 environment on IBM worklight on Mac OS X. I'm pretty sure that I correctly added the environment variable for the WebWorks SDK. I added these 2 lines in these 2 files: .profile, .bash_profile: export…
2
votes
2 answers

Permissions of my application in BB10 location settings is always in disabled mode

I have created a sample android application using location manager and ported that to blackberry z10.When i install and access location services in bb10 device settings, my application permission is always in disabled mode (toggle can't able to…
2
votes
1 answer

navigate page after parsing in BB 10

I am try to navigate page after parsing but before i got response from server, method getLoginData() is called from Qml file and get false because at the time of calling this function response not get from server, when i click again in button where…
Shivang
  • 935
  • 8
  • 18
2
votes
2 answers

BlackBerry10 cascades :cannot access control objects from QML in c++

In my project, I have two qml files viz. main.qml and DetailsPage.qml. I am trying to change the text of a label of DetailsPage.qml from c++ using findChild() method. This is the code in c++ file and DetailsPage.qml Myfile.cpp code: using namespace…
2
votes
1 answer

Pass the svn version number to the bar file

How can I pass the svnversion command output to the buildnum file? Ok, I know I can pipe the output to it, but how can I integrate this in the QNX Momentics build process? So when I click "Build" it does this automatically for me.
Bruno Cardoso
  • 403
  • 3
  • 13