BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 07-19-2010, 02:25 AM   #1 (permalink)
New Member
Join Date: Jun 2009
Model: 9350
Carrier: no
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to display the blackberry loading icon manually?

Please Login to Remove!

When I create http request connection and download the information, I can see the blackberry default loading icon appear. But it does not appear everytime when I create the connection.

How can I make it appear everytime and disappear everytime in the program code control?
Old 07-19-2010, 07:38 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

If you are talking about the spinning hourglass, or clock, this is a bad thing. It means that your application is holding up the OS by blocking on the event thread. If you do this too much the OS will kill your application. You have to do your http request on a new thread. If you want to display a progress or busy indication you will have to do that coding yourself, again, use a thread specifically for the indication so you don't block the event thread.
My other Blackberry is a PlayBook.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.