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
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

Vote for native application menu API

[ Edited ]

Sliding out a native looking application menu in HTML5 is expensive and results are not great (on a Dev Alpha A).

Using a covering sheet looks cheap compared to the way the menu works in native apps.

 

So, just like the context menu, we could have an application menu.

Vote here:

https://www.blackberry.com/jira/browse/BBTEN-946

 

Edit: Added a link to the definition of application menu

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
BlackBerry Development Advisor (Retired)
erikjohnzon
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: Vote for native application menu API

Can you explain further what you mean by "application menu"?

 

Are you saying you wish it to be the same as the current Context Menu in WebWorks?

@erikjohnzon
erjohnson@blackberry.com
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: Vote for native application menu API

I'm refering to the application menus, as defined by the BlackBerry 10 UI guidelines

https://developer.blackberry.com/devzone/design/bb10/menus.html

 

"Application menus hold important actions that are common across the application and aren't context-specific (for example, "Settings", "Log Out", and "Help").

Users open application menus by swiping down from the top of the screen. Users dismiss them by swiping up toward the top of the screen or by tapping outside the menu."

 

Because they're activated via an OS event (swipe down) and because the whole app is pushed down (the main problem when it comes to performance) and masked/stopped, it should be pretty easy to implement at the webview container level, just like the context menu API.

 

 

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Contributor
DigitalMaestro
Posts: 38
Registered: ‎03-07-2012
My Device: Dev Alpha B, Playbook 16GB, Z10 LE
My Carrier: Bell Canada

Re: Vote for native application menu API

I can't seem to access the JIRA issue. I get a message indicating that I do not have the appropriate permissions. I'd like to support this request as I develop Sencha framework based apps for BB10.

Thanks
DM
------------
"The shortest answer is doing." - Jacula Prudentum
My app: Cashalyst
Please use plain text.
BlackBerry Development Advisor (Retired)
erikjohnzon
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: Vote for native application menu API

Interesting. Are you currently using the BBUI application menu on swipedown and finding it clunky?

 

@erikjohnzon
erjohnson@blackberry.com
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: Vote for native application menu API


erikjohnzon wrote:

Interesting. Are you currently using the BBUI application menu on swipedown and finding it clunky?

 


I've only tested the samples which come with BBUI.js and from what I can tell, it violates this guideline:

"Make sure the application menu pushes the UI on the screen down. The menu should not overlay the UI."

 

Let me know if I'm wrong and maybe what's used there could be ported to other frameworks.

 

Having an overlay menu is not a problem as it's the only thing moving, but pushing the whole app down is, as there could be many things on screen which could slow things down, like forms. In my tests with Sencha Touch, performance was unacceptable (on a Dev Alpha A) and that's why I think it would make sense to have it available as an API.

It would also look better and accurate, no matter which framework is in use.

 

 

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Re: Vote for native application menu API

You're going to have to set the issue to public for others to vote.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
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: Vote for native application menu API


Philipk wrote:
You're going to have to set the issue to public for others to vote.

Unfortunately, BlackBerry needs to set it to public. I had forgotten about the delay when I wrote this post :smileyindifferent:

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
BlackBerry Development Advisor (Retired)
erikjohnzon
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
My Carrier: Virgin

Re: Vote for native application menu API

Great. Thanks for explaining. I understand. You need the actual webview to be pushed downwards.

@erikjohnzon
erjohnson@blackberry.com
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: Vote for native application menu API

Exactly, much easier to do at the OS level seen as how swiftly things move around in the OS itself.

The API can be modelled after the context menu API (config object, callbacks, etc.).

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.