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
Developer
Posts: 91
Registered: ‎04-17-2009
My Device: Blackberry Curve 8320

How to Hide My progressive Bar?

hi to all

I have one doubt.

when i am going to connect with my server, i am going to display progressive bar, which contains progressive status string and

one Hide button.

when i am going to press Hide button, my progressive bar screen should closed.

How to do that?

 

Thanks in Advance.
sorry for my English. 

 

Developer
Posts: 220
Registered: ‎09-09-2008
My Device: Bold 9780
My Carrier: Telstra AU

Re: How to Hide My progressive Bar?

Hi,

 

All you need to do is this:

 

 

UiApplication.getUiApplication().invokeLater(new Runnable() { public void run() { // remove your screen from the ui view stack }});

 

 

Paul 

-----------

Follow me on twitter: twitter.com/paul.haenel

If your issue is resolved, please mark this thread as solved.

Set the "Solution" mark on the post which contains the answer to your question.