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

Java Development

Reply
New Contributor
pedman
Posts: 6
Registered: ‎01-28-2013
My Carrier: vodafone

Menuitem.run() works in the UK but not in the US

Hi people,

 

I have an application which implements phone listener and when a call is connected, it programmatically looks through the menu for hold or mute, and calls menuitem.run() on it. It then invokes the dialler application to dial another call, and when that connects it looks in the menu for join conference or flash to conference them together.

This works fine on a 9500 in Europe and the UK, but will not work on a 9500 in the US. The application can find the menu item, and no errors are displayed.

 

If the process is followed by hand on the US phone  it works fine, so I can'tsee that it is network related.

Any thoughts?

 

thanks

 

Pete

Please use plain text.
Developer
peter_strange
Posts: 19,513
Registered: ‎07-14-2008

Re: Menuitem.run() works in the UK but not in the US

Are the devices all on OS 4.7 or OS 5.0?

Please use plain text.
New Contributor
pedman
Posts: 6
Registered: ‎01-28-2013
My Carrier: vodafone

Re: Menuitem.run() works in the UK but not in the US

5.0, sorry I forgot to mention that..
Please use plain text.
Developer
simon_hain
Posts: 15,558
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Menuitem.run() works in the UK but not in the US

its not an official api but a (dirty) hack - one that i utilize myself.
you can check if there is a different translation for the menu item, but you said you find it.
i would suggest to use debug output to list all items, maybe one is listed twice and you execute the wrong one.
also check the id etc of the item.
----------------------------------------------------------
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.