Welcome!

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

Reply
Contributor
itassets
Posts: 21
Registered: ‎09-09-2011
My Device: developer
My Carrier: developer
Accepted Solution

BB10 Webworks displaying menu items on swipedown event

I've tried examples and guidelines from https://github.com/blackberry/bbUI.js/wiki/Screen-Menus

But havent seen yet an example that works properly.

 

Can anyone provides me a working code example on how to make an aplication menu like in the page above post it.

 

Tnx in advance.

@itassets

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 619
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: BB10 Webworks displaying menu items on swipedown event

Hello,

 

Are you adding the <feature id="blackberry.app.event"/> feature to your config.xml?

 

The bbUI.js examples do work, but you can check out this sample as well https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/Built-For-BlackBerry

 

 

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Contributor
itassets
Posts: 21
Registered: ‎09-09-2011
My Device: developer
My Carrier: developer

Re: BB10 Webworks displaying menu items on swipedown event

@chadtatro

  Tnx for your quick reply.

 

   Looking at the examples gave me an idea of what I was doing wrong. <div menu .....  have to declared in every html file within the project. I was just inserting in the splash.html so menu objects were not defined within the all swipe down scope. 

 

  My app now is working and displaying menu item properly, although I'm getting a Warning when compiling after inserting in the config.xml  <feature id="blackberry.app.event"/> [WARN]  Failed to find feature with id: blackberry.app.event

 

   I'm using Webworks sdk 1.0.4.11 and bbUI for BB10 VERSION: 0.9.6.234

 

   Any advice or comment?

 

   Best regards.

 

 

Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 822
Registered: ‎07-15-2008
My Device: Z10
My Carrier: Bell

Re: BB10 Webworks displaying menu items on swipedown event

That should be blackberry.app, without the ".event"
Tim Windsor
Application Development Advisor II
Please use plain text.