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

Regular Contributor
Posts: 55
Registered: ‎12-23-2011
My Device: 9900 / PB 2.0641
My Carrier: SFR
Accepted Solution

WebWorks BB10 build error.

[ Edited ]

EDIT: I have the same issue using the following command-line (i.e without ripple) :

bbwp v:\first\out\morfGPS.zip -d so that I presume it's not Ripple related (title edited).


[BlackBerry 10 WebWorks SDK]


When I build my app with Ripple, I get the following error in the console :

Failed to find feature with id: blackberry.system.event


I've read the PB faqs and learned I have to respect hirachy in the features and then added <feature id="blackberry.system" /> before the <feature id="blackberry.system.event" />.

Still no luck ... any idea ?


P.S: the "<feature id="blackberry.system.event" />" is present in BBui.js documentation, mostly why it's in mine. Thought it was required ...


<?xml version="1.0" encoding="UTF-8"?>
	<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="" rim:header="MorfGPS" id="SuperMorf">
	<description>blah GPS and utilities App</description>
	<author>Antoine (Superfly_FR)</author>
	<content src="index.htm"/>
	<icon src="img/icon.png"/>

	<rim:loadingScreen backgroundImage="\img\background.png" onFirstLaunch="true">
		<rim:transitionEffect type="fadeIn" />
	<rim:navigation mode="focus" />

	<feature id="blackberry.system" />
	<feature id="blackberry.system.event" />
	<feature id="blackberry.app" />
	<feature id="blackberry.app.event" />


Regular Contributor
Posts: 55
Registered: ‎12-23-2011
My Device: 9900 / PB 2.0641
My Carrier: SFR

Re: WebWorks BB10 build error.

Events for BB10 are handled differently.

Add events with blackberry.event.addEventListener.
Events are in diff areas.


You do not need to add blackberry.app.events to config.xml. add/removeEventListener are always available.

(personal note : so goes for blackberry.app.event if you refer to my config.xml above)

However, you DO have to add any feature that contains the actual event you want to listen for.


Thanks goes to Ken Wallis.