Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 13
Registered: ‎03-25-2014
My Device: Z10
My Carrier: 0021658331904
Accepted Solution

Webworks Application with headless part

I'm devolopping an application based on webworks SDK. 

I want to develop a plugin that communicate with a native headless service.

I used the sample of The Headless Service sample that demonstrates how to create a long-running headless service.

Also, I used the template of creating a cordova plugin to communicate between JavaScript part and native part.

The 2 samples work fine separatly, I didn't found how to  configure them to work together. I mean how to invoke the headless service form Javascript side.


As the BlackBerry Webworks Native Extension and the native headless service project don't have the same project structure, I didn't get out how to configure my Webworks Project and my Native Headless project to communicate with each other.

Help please ?


Posts: 203
Registered: ‎12-18-2012
My Device: Z10, Q10, Q5, Z30, Z3
My Carrier: Bell

Re: Webworks Application with headless part



WebWorks 2.1 has a "create headless" CLI command. This generates a sample app in which the momentics project builds directly into the WebWorks project. It demonstrates invocation of WebWorks to headless.



Bryan Higgins
BlackBerry WebWorks