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

Native Development

Reply
Contributor
Posts: 21
Registered: ‎10-03-2013
My Device: Z10
My Carrier: Telus
Accepted Solution

Open Action Menu Programmatically

Hello, is it possible to open action menu programmatically?

 

I would like to open the actionMenu from another button, since I set the


            actionBarVisibility: ChromeVisibility.Hidden

 

I need a way to open it somehow.

 

Any thoughts?

 

I see the Native Camera app does the same thing, but I have no idea how to achieve that.

 

Thank you.

 

Developer
Posts: 291
Registered: ‎10-15-2012
My Device: bb10 developer
My Carrier: Orange

Re: Open Action Menu Programmatically

There is no way to do this programmatically, Either the camera app has access to a private API (which we don't get), or they implemented their own action menu to look like the real thing and make it slide in from the right-hand-side. Considering that they have additional buttons and widgets in their action menu, I suspect they implemented it from scratch.