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

blackberry10 c++ .gitignore?

I have a git repo with BB10 development using the C/C++ Native SDK. Do you have advice on the .gitignore file, or a template like the ones to be found at https://github.com/github/gitignore?
ticofab
  • 7,551
  • 13
  • 49
  • 90
4
votes
2 answers

dynamically change label text QML

This is the silliest thing to do in any language but I'm stuck on how to do it in QML. How to change the text value of a Label in QML? What am I missing.. My code is the following: Container { objectName: "formContainer" id: formContainer …
mariomunera
  • 323
  • 1
  • 4
  • 18
4
votes
2 answers

Blackberry Development for both Playbook and BB10 - Possible to make universal app?

I am looking into doing development for BlackBerry, but I am confused about a few things. Maybe someone here can clear them up: Is it possible to build a "Universal" app that runs on both Playbook and BB10? Using the Java IDE, will I be able to…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
4
votes
1 answer

Accessing parent functions in QML

I'm currently creating a Twitter client as a way of learning to develop for Blackberry 10. I'm currently trying to create a context menu for a custom ListView item, which on selection will show a dialog in the main layout. However, I cannot get the…
Michael Dodd
  • 10,102
  • 12
  • 51
  • 64
4
votes
1 answer

Unable to connect to selected target: Connection failed: connect timed out

Blackberry10 issue: I'm using blackberry native SDK-beta1. When I run my application using Wi-Fi or USBport on real device, error "Unable to connect to selected target: Connection failed: connect timed out" is shown. I build my application…
jQueen
  • 552
  • 1
  • 7
  • 16
4
votes
2 answers

BlackBerry Cascades UI File Selection

I have set up a BlackBerry Cascades-UI project. I am using QML to define the look and feel of the user interface. I need to provide the user a method of selecting an image from the device photo gallery after the screen has been touched. Does anyone…
user1114055
3
votes
1 answer

BlackBerry Simulator doesn't show when i run android project in android studio?

I have download and install BlackBerry Simulator and run it in VMWare Machine. I have run its controller. Then, I have created a simple hello world project in android studio. Here is MainActivity.java: public class MainActivity extends…
3
votes
1 answer

How to get IMEI number in blackberry 10 native

I am trying to get the Default information of Hardware device in blackberry 10 native, So basically i am trying to access IMEI or SERIAL NUMBER of the device. I havetried using following code main.cpp #include "applicationui.hpp" #include…
InnocentKiller
  • 5,234
  • 7
  • 36
  • 84
3
votes
3 answers

QObject::tr() not translating dynamically generated strings

QObject::tr("%1").arg(_value); Here _value is of QString type, which is dynamically generated. Is the above way correct to translate dynamically generated strings as in my code it doesn't seem to work.
Kartik
  • 45
  • 1
  • 4
3
votes
1 answer

how to integrate my app into the bb10 file manager?

I would like to integrate my app into the standard BB10 file manager (like DropBox or OneDrive does). Any idea how to do this?
thowa
  • 590
  • 1
  • 8
  • 29
3
votes
1 answer

BB10 Cascades: how it`s made?

How implement many custom ListItems, like its implemented in standart blackberry calendar app. The following screenshot shows what I mean Especially I interested what is the second control with right arrow. Thanks.
Silnet
  • 101
  • 1
  • 6
3
votes
0 answers

button click counter blackberry cascades

I'm trying to make an app that count how many times you've clicked the button in blackberry 10 so i'm trying to int a value that will increase by 1 when you click the button import bb.cascades 1.2 Page { Container { ImageButton { …
3
votes
1 answer

How to create custom QML element from file in c++?

I have a custom QML element that I use in my app. MyImageView.qml I can create instances of it in javascript without issue using a ComponentDefinition such as (names and methods vastly simplified for sake of readability): attachedObjects: [ …
hyarion
  • 2,251
  • 2
  • 17
  • 28
3
votes
0 answers

BB10 input[type=date] and datepicker

I'm working on bug requests for an jQuery Mobile/HTML5 app on Blackberry 10. One of the bugs reported only seems to manifest on the BB10. The bug report is that the datepicker sometimes doesn't show up when the date field (input type=date) is…
bcholmes
  • 944
  • 1
  • 9
  • 23
3
votes
1 answer

Add Pin on Map Location in QML BB10

i am new to BB10 development, i am developing an application that has a map and i want to my current location on the map from the QML file on there developers site there is way to add a pin from the C++ files but i want to make it in the QMLor to…
Zak
  • 571
  • 2
  • 6
  • 13