01-04-2012 05:37 PM
Hi folks,
I'd like to use a PhoneGap plugin that uses the BlackBerry Webworks SDK and invoke an
existing C library.
The information I have on PhoneGap is detailed at:
http://wiki.phonegap.com/w/page/31930982/Getting-S
I've not been able to verify if I can call a C library from Blackberry WebWorks SDK. Any thoughts
or suggestions are appreciated.
Regards,
Rajesh
01-05-2012 10:46 AM
Hi Rajesh,
The answer to your question is actually somewhat complicated...
If you're trying to make a phonegap application for blackberry smartphones, this is actually built on top of BlackBerry Java which means the underlying libraries need to be written in that.
If you're trying to make a phonegap application for blackberry playbooks, it is currently built on top of AIR. This means that you can use a C library (if its ported to BlackBerry NDK) by using an Air Native Extension.
In the future the implementation will be ported to native meaning you won't need the AIR layer in the middle.
button below the post(s)