Well, I hope so.

In the mean time I have discarded the use of a dialog with an
indeterminate progress bar and I'm using a determinate progress bar
within my layout (I cannot use the progress bar in the window title
because it still consumes a lot of CPU due to the animation).

I update the progress bar periodically with a thread (sleeping a
couple of seconds between updates) and that way I simulate an
indeterminate progress bar with a determinate one . I don't know if it
is the best solution, but at least the cpu consumption is minimal.



On 5 abr, 18:42, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I assume this won't be an issue on a real phone. Those will have
> hardware acceleration to draw the images on the screen and do stuff
> like alpha blending.
>
> On Apr 5, 6:26 pm, qvark <[EMAIL PROTECTED]> wrote:
>
> > Hello all, I'm doing some heavy image processing in the background and
> > I wanted to show a progress bar to the user (indeterminate since I
> > don't know how to report the exact process status).
>
> > My surprise is that when I add an indeterminate progress bar to my UI,
> > the background process needs more than the double of time to complete
> > than without progress bar! That makes it totally unusable for my
> > purpose, because the process is already taking too long (near 5
> > minutes) to duplicate it just to show a fancy progress bar.
>
> > I wanted to know if everybody is suffering the same experience or if
> > somebody has found a workaround because I haven't found it in the
> > forums.
>
> > Thanks in advance,
>
> > Jose Luis.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to