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 .

1388 questions
33
votes
2 answers

Install cordova plugin for ONE platform only

We want to install the com.blackberry.app plugin (http://plugins.cordova.io/#/package/com.blackberry.app) for our (cordova 3.4.0 CLI) project. IF I try "cordova plugin add com.blackberry.app", it is installing plugin for both android and…
contactabbas
  • 774
  • 1
  • 10
  • 18
25
votes
3 answers

Use of colon after class name in c++

This is a header file extracted from a blackberry 10 helloworld program. #ifndef ApplicationUI_HPP_ #define ApplicationUI_HPP_ #include namespace bb { namespace cascades { class Application; class LocaleHandler; …
DesirePRG
  • 5,584
  • 12
  • 59
  • 99
20
votes
2 answers

Q_DECL_EXPORT keyword meaning

Q_DECL_EXPORT int main(int argc, char **argv) What does this Q_DECL_EXPORT before int main(...) means?
Tahlil
  • 2,550
  • 4
  • 36
  • 71
16
votes
2 answers

How can I cast a QVariant to custom class?

I'm developing a BlackBerry 10 mobile application using the Momentics IDE (native SDK). I have a listview which I want to handle its items click with C++ (I need to use C++ not QML). I can get the index path using the "connect" instruction, but I…
J.M.J
  • 1,081
  • 3
  • 18
  • 35
16
votes
2 answers

How to Simulate Pinch on BlackBerry 10 Simulator ?

I am developing a project using the Native SDK for BlackBerry 10. I am using BlackBerry 10 Dev Alpha Simulator for testing purposes. I can't seem to simulate a pinch event, and did some searching just to find out that this is not implemented yet in…
user1114055
16
votes
2 answers

Running BlackBerry 10 simulator (alpha) in virtualbox

Blackberry 10 (alpha) is providing the Simulator to run on vmware, I was wondering if that can also be run on virtualbox?
itsaboutcode
  • 21,936
  • 42
  • 103
  • 153
13
votes
2 answers

Automate Blackberry 10 simulator actions

I'm using the VMWare Player and the Blackberry 10 simulator image; I need to do some unit/integration tests automatically. I know I can use the VIX api to spin up a new Simulator and load the Blackberry image. What I would love to be able to do is…
Richthofen
  • 2,005
  • 17
  • 35
13
votes
1 answer

BB10 Cascades Command Line Development

Since programming for BB10 is now supposedly much easier if you know Qt, I decided to give it a go and I have been reading this: https://developer.blackberry.com/cascades/documentation/getting_started/index.html I noticed that all of RIM's…
MrFox
  • 1,204
  • 11
  • 23
11
votes
2 answers

SSL Handshake Failed in BB10 QNX Momentics IDE

I'm trying to make a connection to a web service that uses SSL. I'm working with Blackberry 10 in C++ with the QNX IDE Momentics. The connection that I'm trying to do is as follows: URL: "https://movilapi...." Code: networkAccessManager = new…
10
votes
3 answers

QThread emits finished() signal but isRunning() returns true and isFinished() returns false

Below is the code for my qthread implementation. I am trying to get gps data from satellite. QThread doesn't produce the finished() signal even when the programs exits gpsSearch() slot function. The function locateMe() is called whenever a button is…
Tahlil
  • 2,550
  • 4
  • 36
  • 71
10
votes
2 answers

Between Cascades and CoreNative, the two main Blackberry Playbook C++ frameworks, which is easier to use?

I'm thoroughly confused by the number of SDK/API choices in Blackberry Playbook development. Is one or the other recommended more to complete beginners in mobile app development? Leaving aside the Flash/Air, HTML and JAVA options, which of the two…
Warren P
  • 58,696
  • 38
  • 168
  • 301
8
votes
1 answer

Calling boost::asio::write() with a non-valid socket crashed my Blackberry 10 application

This post relates a technical problem encountered in a recent software project, and allows the reader to benefit from the hard-earned solution to the problem. Background In my company, I'm the implementer and maintainer of an internal library that…
Moshe Rubin
  • 1,748
  • 1
  • 13
  • 33
8
votes
2 answers

BlackBerry 10 Background Service

Is there any way in BB 10 to autostart an aplication at phone startup ? And if it is, is it possible to reamin in background while doing background processing like cheking gps location or wifi status? Thank you in advance.
Lupu Ciprian
  • 163
  • 5
8
votes
5 answers

The best way to get BlackBerry 10 logs?

BlackBerry 10 has quite sophisticated logs system compared to iOS and Android. The only solution i found is using javaloader tool like this: javaloader.exe -u eventlog > eventlog.txt But it seems to work only with pre-10 versions of BlackBerry OS.…
Sergey K.
  • 23,426
  • 13
  • 95
  • 167
7
votes
3 answers

Calling a QML function from C++

I'm developing a Blackberry 10 mobile application using the BB Native SDK. I need to call a QML function into my C++ class. I searched a lot on this but I only found the possibility to call C++ into QML not the inverse. You can check this: QML and…
J.M.J
  • 1,081
  • 3
  • 18
  • 35
1
2 3
92 93