Sunday, February 10, 2013

Blackberry 10 Development

Blackberry Z10 Development

20140720: Update: After 14 years using RIM devices from the 957,6700,8800,9000,bold and Q10 - I have retired using blackberrys - for the first time my Q10 keyboard has become defective - I officially move to full time iPhone 5s usage with Android 4.4 on the side.  The lack of support for clinical devices such as the hexoskin, muse and Bluetooth Smart based systems is also a factor.  The iOS 8 ecosystem is also easier to use.

RIM/Blackberry has done an excellent job bringing out Blackberry OS 10 and the Z10/Q10 devices (I have both) which I like better than the iPhone 4s except for the # of apps available ofcourse.  The Q10 device however has a darker and slightly inferior screen compared to the Z10 but the keyboard is excellent.

The following blog details steps in getting up and running developing natively, using PhonGap or porting over Android apps.

Development Environment

see as of 20130210 the 10.1 beta is out.
Start by downloading both the Native API - Cascades for and Blackberry 10
Get the API's
Android 4.2 for Blackberry
Get the simulators

Before running a native C/C++ app on the Blackberry Z10 or Q10 you need to enable development mode and download .bar certificates to the devices - do this by selecting to generate a new debug key.


Android Emulation

Get the eclipse plugin for android porting
Currently only Android 2.3.3 (API 10) is supported on the Blackberry.
Install the eclipse plugin for Blackberry / Android development tools (using jcommon-1.0.12.jar and kxml2-2.3.0.jar)
To get around Unable to read repository at
try the install again
To get around the error after restarting eclipse

java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.cdt.codan.core.application, org.eclipse.cdt.core.GeneratePDOM,, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.ant.core.antRunner,,,, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer.

No comments:

Total Pageviews