> > I wonder what impact this will have from the perspective that the correct > flags must be put in place so that the .so files get stripped properly so > that they are not bigger than what they need to be. > I guess I will have to try you project out.
Ya - I was worried about this too. My C++ and makefile fu is not so strong so I wasn't too sure about the compiler flags. I think ended up leaving most of the flags to the default values. If you get a chance have a look at our build system, it will help make sure > you are compiling with right flags etc.. > https://github.com/blackberry-webworks/BB10-WebWorks-Framework/tree/next Awesome - thanks. On 9 November 2012 12:46, Nukul Bhasin <[email protected]> wrote: > I wonder what impact this will have from the perspective that the correct > flags must be put in place so that the .so files get stripped properly so > that they are not bigger than what they need to be. > I guess I will have to try you project out. > > If you get a chance have a look at our build system, it will help make sure > you are compiling with right flags etc.. > > https://github.com/blackberry-webworks/BB10-WebWorks-Framework/tree/next > > > On Fri, Nov 9, 2012 at 2:15 PM, Tim Kim <[email protected]> wrote: > > > Hey Nukul, > > > > I'm building them using qnx make. I basically took the project output > from > > the qnx momentics ide when you select a new project with empty shared > > library and selected makefile build option. It works pretty well within > the > > blackberry cordova webworks repo - a dev can code whatever custom > extension > > they want for bb10 and deploy an app with webworks and phonegap without > too > > much more work. > > > > this is the commit that changes it over, not sure if you are interested. > > > > > > > > > https://github.com/blackberry-webworks/BB10-WebWorks-Framework/commit/eafb6cf1d9b7a0961da832dbc47a1030e13662ee > > > > > > Nice link! Wish I had seen that earlier - I went through a lot of trial > and > > error before I got something going. > > > > > > > > > > On 9 November 2012 04:23, Nukul Bhasin <[email protected]> wrote: > > > > > are you building your native extensions using cmake or qnx make? > > > I am interested because we have switched from cmake to qnx make, > > wondering > > > how the WebWorks project and this aligns. > > > > > > this is the commit that changes it over, not sure if you are > interested. > > > > > > > > > https://github.com/blackberry-webworks/BB10-WebWorks-Framework/commit/eafb6cf1d9b7a0961da832dbc47a1030e13662ee > > > > > > > > > On Wed, Nov 7, 2012 at 9:10 PM, Gord Tanner <[email protected]> wrote: > > > > > > > Same! > > > > > > > > Awesomesauce > > > > > > > > Sent from my iPhone > > > > > > > > On 2012-11-07, at 7:22 PM, Steven Gill <[email protected]> > wrote: > > > > > > > > > Nice work Tim. I will give it a go tomorrow on my BB10 dev device. > > > > > > > > > > -Steve > > > > > > > > > > On Wed, Nov 7, 2012 at 4:11 PM, Tim Kim <[email protected]> > wrote: > > > > > > > > > >> Howdy everyone, > > > > >> > > > > >> I've been working on the bb10 extension for about a month and I've > > > > finally > > > > >> gotten it to a point where it's ready for some good old human > > testing. > > > > >> > > > > >> If you've got a bb10 device, try running these steps for me and > tell > > > me > > > > >> what you think! > > > > >> > > > > >> 0) Clone this repo/branch: > > > > >> > > > > >> > > > > > > > > > > https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-blackberry-webworks.git;a=shortlog;h=refs/heads/bb10_ext_qnx > > > > >> > > > > >> 1) Download and install the bb10 native sdk: > > > > >> http://developer.blackberry.com/native/beta/ > > > > >> > > > > >> 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 > > > > >> path_to_your_bb10_native_sdk_dir/bbndk-env.sh" > > > > >> > > > > >> 5) hit "make" > > > > >> > > > > >> 6) An *.so file will be generated in the nto/arm/so.le-v7/ - copy > > and > > > > >> rename this file to echoJNext.so 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') } > > > > >> cordova.echo.doEcho(message,win,fail) > > > > >> > > > > >> -- > > > > >> Timothy Kim > > > > >> > > > > > > > > > > > > > > > > -- > > > *Nukul Bhasin* > > > *Computer Engineer, B.Eng* > > > *10 Queens Quay W, suite#1710* > > > *Toronto, ON, Canada* > > > *Ph: 416 508 3157* > > > > > > > > > > > -- > > Timothy Kim > > > > > > -- > *Nukul Bhasin* > *Computer Engineer, B.Eng* > *10 Queens Quay W, suite#1710* > *Toronto, ON, Canada* > *Ph: 416 508 3157* > -- Timothy Kim
