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
Developer
Posts: 90
Registered: ‎06-03-2009
My Device: Dev Alpha B
My Carrier: None atm.

Can't find example on menus and buttons

Hi

I can't find a good example on creating simple things like menus and buttons. Any auggestions?

Br
J. C. Nielsen

Attended DEVCON 2010

Free Tibet
Developer
Posts: 120
Registered: ‎03-13-2012
My Device: Playbook, Dev Alpha C, Q10, Z10, Z30
My Carrier: T-Mobile

Re: Can't find example on menus and buttons

With straight Native I only know two ways:

 

1.  Roll your own (difficult if you're new to this, tedious if you're not)

 

or

 

2.  Check out the dialog api's.  I prefer this method as you can add buttons with a text explanation in the dialog.  Also you can use the pick list and multi pick list dialogs.