Activity Indicator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Activity Indicator

Jerome Chan
Is there a standard way of displaying that a window is busy processing
some data which will allow the user to cancel the operation? For
example, I'm downloading a chunk of data of unknown length. I can't use
a progress bar / dialog since I don't know what percentage is complete?


Reply | Threaded
Open this post in threaded view
|

Re: Activity Indicator

Steve Alan Waring
Hi Jerome,

> I'm downloading a chunk of data of unknown length.
> I can't use a progress bar / dialog since I don't know
> what percentage is complete?

I have a modified ProgressDialog goodie at:

  http://www.dolphinharbor.org/dh/projects/goodies/sprayProgress.html

This automatically ticks the progress bar at a set interval and loops back
to the start if the operation takes longer than expected. It could be
improved by showing some kind of icon animation instead of the progress bar.

Steve

==========
Steve Waring
[hidden email]
http://www.dolphinharbor.org/dh/harbor/steve.html


Reply | Threaded
Open this post in threaded view
|

Re: Activity Indicator

Jerome Chan
In article <aiqbfr$161g8q$[hidden email]>,
 "Steve Waring" <[hidden email]> wrote:

> Hi Jerome,
>
> > I'm downloading a chunk of data of unknown length.
> > I can't use a progress bar / dialog since I don't know
> > what percentage is complete?
>
> I have a modified ProgressDialog goodie at:
>
>   http://www.dolphinharbor.org/dh/projects/goodies/sprayProgress.html
>
> This automatically ticks the progress bar at a set interval and loops back
> to the start if the operation takes longer than expected. It could be
> improved by showing some kind of icon animation instead of the progress bar.
>
> Steve
>

Thank you! What I've done instead is to create a new view based on the
CountDown Progress Dialog Example and use that instead. I display the
amount of data downloaded as a string.