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
awjenning
Posts: 38
Registered: ‎08-06-2011
My Device: PlayBook
My Carrier: T-Mobile
Accepted Solution

How to create PlayBook context menu under WebWorks

I have been searching for hours and I can't find any guidence on how to create a context menu for a PlayBook WebWorks application. I am referring the the menu that is supposed to appear when you swipe down from the top. I have tried using  blackberry.ui.menu  logic but it seems that the ui feature is not available to PlayBook yet.

 

At BlackBerry World they stressed that this was an important aspect of any PlayBook application so there must be a way to do it. Can anyone give me a nudge in the proper direction?

 

--Thanks!

Please use plain text.
Developer
praveen_rajan
Posts: 163
Registered: ‎05-06-2011
My Device: Playbook
My Carrier: Not Specified

Re: How to create PlayBook context menu under WebWorks

If you referring to the menu that comes down when a user swipes down from the top of the PlayBook, please refer this for a sample application.

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Sample-Code-Swipe-down-menu-for-...

Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: How to create PlayBook context menu under WebWorks

awjenning - Bear in mind that blackberry.app.event breaks when using Google Maps (and possibly other external libraries)

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Contributor
awjenning
Posts: 38
Registered: ‎08-06-2011
My Device: PlayBook
My Carrier: T-Mobile

Re: How to create PlayBook context menu under WebWorks

Praveen,

 

Thank you again. That works quite nicely.

 

Regards,

   Tony

Please use plain text.
New Developer
sterlingwes
Posts: 5
Registered: ‎05-30-2012
My Device: Z10
My Carrier: Telus

Re: How to create PlayBook context menu under WebWorks

Little late, but I've created one for the jqMobi framework if anyone's interested. I wasn't able to find a fluid solution from the existing sample work.

https://github.com/sterlingwes/webworks-playbook-menu
Please use plain text.