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: 53
Registered: ‎01-12-2011
My Device: BOLD 9780
My Carrier: Bharti Airtel
Accepted Solution

How to show Loading Dialog (Wait Screen )with Animated image between screens

Hi

Can anybody show the way to insert Loading Dialog between two screens while second screen is taking

time to load ??

I have tried samples given in the forum but no luck 

 

Developer
Posts: 374
Registered: ‎04-07-2010
My Device: Bold 9000
My Carrier: Airtel

Re: How to show Loading Dialog (Wait Screen )with Animated image between screens

Check this:

 

http://supportforums.blackberry.com/t5/Java-Development/Sample-Please-Wait-or-Progress-Bar-Code/m-p/...

Press the Like button (Thumb up) on the left side to thank and
please mark the Thread as solved if its solved...
K.S
Developer
Posts: 19,628
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to show Loading Dialog (Wait Screen )with Animated image between screens

There is an update to that Thread in here:

http://supportforums.blackberry.com/t5/Java-Development/Sample-quot-Please-Wait-quot-screen-part-1/t...

 

Note that comment added to the article as well - it is a useful variation. 

Developer
Posts: 53
Registered: ‎01-12-2011
My Device: BOLD 9780
My Carrier: Bharti Airtel

Re: How to show Loading Dialog (Wait Screen )with Animated image between screens

Thanx Peter
Your article helped me lot :Yes:

Developer
Posts: 53
Registered: ‎01-12-2011
My Device: BOLD 9780
My Carrier: Bharti Airtel

Re: How to show Loading Dialog (Wait Screen )with Animated image between screens

Hi Peter

I have implemented Loding Dialog into my application

Tell me if I wrong but problem I am facing now is I want to return value from run method

like "response" or "response code" from Http Connection to different screen
How can I acheive this as run method is having return type void??

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

Re: How to show Loading Dialog (Wait Screen )with Animated image between screens

As this is a solved Thread, I suggest you ask your new question in a new Thread.  Before doing that, I suggest you look at the Observer pattern.