cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Kim (JIRA)" <>
Subject [jira] [Commented] (CB-1678) Create native extensions for bb10
Date Thu, 08 Nov 2012 00:08:12 GMT


Tim Kim commented on CB-1678:

More updates!

I'm pretty close on finishing this. There's only a few rough edges left, but it is mostly
functionally complete. 

In any case, here's a short guide to compile example plugin and get it working:
0) Clone this repo/branch:;a=shortlog;h=refs/heads/bb10_ext_qnx

1) Download and install the bb10 native sdk:

2) cd into the cordova blackberry webworks repo

3) cd into the framework/ext-qnx 

4) Find the bb10 native sdk directory and run "source bb10_native_sdk_dir/"

5) hit "make"

6) An *.so file will be generated in the nto/arm/so.le-v7/ - copy and rename this file to and place it
in the cordova.echo/device folder 

7) Use "ant dist" in the cordova blackberry webworks repo to create a new project with the
echo plugin

8) Modify project settings and deploy to device

9) Using the remote web-inspector, call these javascript commands: 
var message = { 'message' : "hello"}
win = function(result){ alert(result == "hello") }
fail = function(){ alert('failed') } 

> Create native extensions for bb10
> ---------------------------------
>                 Key: CB-1678
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 2.2.0
>         Environment: blackberry 10
>            Reporter: Tim Kim
>            Assignee: Tim Kim
>             Fix For: 2.3.0
> Currently with the webworks blackberry repo, there is no possibility to make a native
extension for bb10 (this is because bb10 is now qnx with a c++ implementation). By making
the infrastructure to support this, a developer would then be able to make their own plugins
on the bb10 platform. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message