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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
kully
Posts: 23
Registered: ‎10-15-2009
Accepted Solution

Event Injection using menu item ordinals

Hello,

 

Is it possible to click a menu item if I have it's ordinal? i.e. rather than scrolling down and clicking it?

 

cheers,

 

 

Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Event Injection using menu item ordinals

can the user do it? no? why should "user simulation" be better than the real deal?

 

if you have access to the menu itself you can execute items using their run method.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
kully
Posts: 23
Registered: ‎10-15-2009

Re: Event Injection using menu item ordinals

Of course, I should have thought of that [run]. I'll give that a go.

 

Cheers.

Please use plain text.