BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-19-2010, 03:25 AM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Model: 9350
PIN: N/A
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?
Offline  
Old 07-19-2010, 08: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
Default

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.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.