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
Trusted Contributor
Posts: 145
Registered: ‎05-01-2011
My Device: 9780
My Carrier: Developer
Accepted Solution

Component over a component

I have a screen x which contains some fields and when the user hits the submit button, i called a thread to get the needed info through http connection in the mean time i want to show a progress bar to the user just like, the user is viewing the screen x and when the user hits the submit button the screen x should be in the background and a progress bar should run in the foreground of that screen, how can i achieve this?

 

Thanks in advance

 

               

Developer
Posts: 132
Registered: ‎05-07-2009
My Device: Curve
My Carrier: Vodafone

Re: Component over a component

hi,

 

use popup screen and use guagefield on it to show progressbar

 

push popup screen as modal screen and once thread executes, pop your popup screen

 

Sameer Joshi
Blackberry developer.
Trusted Contributor
Posts: 145
Registered: ‎05-01-2011
My Device: 9780
My Carrier: Developer

Re: Component over a component

Thanks for your reply will try that idea

Developer
Posts: 132
Registered: ‎05-07-2009
My Device: Curve
My Carrier: Vodafone

Re: Component over a component

one more thing,

 

if you want to show just normal status text... use Status.show method.... u can show status for any particular amount of time....

Sameer Joshi
Blackberry developer.
Trusted Contributor
Posts: 145
Registered: ‎05-01-2011
My Device: 9780
My Carrier: Developer

Re: Component over a component

Popup screen works fine. Thanks.