BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-19-2010, 02:25 AM   #1
fenixlam
New Member
 
Join Date: Jun 2009
Model: 9350
PIN: N/A
Carrier: no
Posts: 7
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, 07:38 AM   #2
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75



APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99







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