xnike's blog

Fixing route for BB10 devices on Linux system.

After updating my BlackBerry Q10 with name "Q10" to OS 10.3.1 I started expecting connection issue via USB cable:

[root@localhost ~]# ping Q10.local
PING Q10.local (169.254.141.173) 56(84) bytes of data.
^C
--- Q10.local ping statistics ---
5 packets transmitted, 0 received, 100% packet ...

Momentics IDE: Installing on a headless Linux system.

Assume you wish to use Jenkins to build your BlackBerry 10 applications on a headless Linux system.

In this case on attempt to install SDK via ./sdkinstall you could face with the following error:

Qde: Cannot open display: 
Qde: Cannot open display: 
Qde:
An error has occurred. See the log ...

BlackBerry 10: Creating unit tests for JS.

As you can see at Native roadmap page the M3 release (2.1.1 Beta) of the Momentics IDE will contain support for unit tests. It is interesting to know what features and constraints Blackberry's solution will have.

Meanwhile, we can easily make unit tests for our JavaScript source ...

XPCOM error 0x80004005

If you see "XPCOM error 0x80004005" error message on Momentics IDE's Welcome page on Fedora 19 (x86_64), you should check for installed i686 xulrunner rpm package.

To resolve missing package issue just type under root account or via sudo:

yum install xulrunner.i686

Blackberry 10: Changing application theme in runtime

Do you want to change an application theme (from bright to dark and back)? Yes, you can.
Do you want to do it in the runtime? No, you can not; a user has to restart the application to apply new theme.

You can easily implement this as it is done ...