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 Developer
ganeshS
Posts: 133
Registered: ‎12-31-2009
My Device: Not Specified

How to access Menu of waiting screen?

Hello Friends,

 

 

 

I want to access Menu of waiting screen.

The menu contains following Items

1.Answer- Hold Current

2.Answer-DropCurrent

3.Ignore

 

How can I access this menu??

 

 

Thanks

 

 

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to access Menu of waiting screen?

If you can get a reference to the Screen perhaps using

UiApplication.getUiApplication().getActiveScreen()

then you can use

<screen>.getMenu()

New Developer
ganeshS
Posts: 133
Registered: ‎12-31-2009
My Device: Not Specified

Re: How to access Menu of waiting screen?

Hello peter_strange,

 

 

Thank you for yur reply.

I tried the stuff you told. But I am getting following menus

1.volume

2.Enhance call audio

3.Mute

4.Notes

5.Activate speakerphone

6.switchapplication

 

 

This is not the menu of waiting screen also I am not getting how to check whether I am getting the correct

screen using "UiApplication.getUiApplication().getActiveScreen()".

 

How should I check whether I am getting the correct screen or not?

And also the correct menu

 

Thank you

 

 

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to access Menu of waiting screen?

"I am not getting how to check whether I am getting the correct  screen"

 

Sorry I have no idea what the correct screen is, where your code is running, or even if you have access tot he correct screen (you can only get Screens that belong to the Application context in which you are currently running. 

 

I suspect regarding finding the correct 'Waiting Screen' unless you have a reference to it, or can find it in the display stack

[<screen>.getScreenBelow() might help here]

you will not be able to do what you want.