03-15-2012 02:16 AM
Hi,
Is it possible to call native C code using WebWorks ?, or some way to
expose native C for webworks based application.
If so please let me know if there is an online tutorial for the same.
03-15-2012 10:21 AM
03-16-2012 12:30 PM
That's correct. You can use Adam Stanley's template to create a WebWorks Extension in AIR: https://github.com/astanley/WebWorks-Community-API
Then use the AIR Native Extension sample in the NDK to get started with your AIR Native extension: http://developer.blackberry.com/native/download
There is a sample app in the project wizard.
06-06-2012 03:47 PM
I have a similar question.
Can we call Blackberry SDK APIs from WebWorks.
I want to develop a scanner app using webworks, It is possible with webworks?
Thanks in advance.
06-06-2012 10:31 PM
BlackBerry WebWorks is intended for that very reason - so that you can develop in HTML5, but call into the native platform. You may want to review the overview here:
For barcode scanning, there is a community created extension for that:
https://github.com/timwindsor/WebWorks-Community-A
06-07-2012 02:54 PM
Hi Tim, That was useful.
I have created helloWorld app successfully.
How can i import & start building in eclipse instead of regular notepad application.
Thanks,
Divya
06-07-2012 03:40 PM
You can create a basic Project in Eclipse - or use one of the more specific project types. Really it's up to you how you want to develop it.
There are many other options as well - see this thread: http://supportforums.blackberry.com/t5/Web-and-Web