I have a specialized application. This is for internal-use only and
not for public release. It does extensive image processing within an
AsynTask & updates a progress bar on screen to keep the user informed
as to where it is at. Since it's thousands of images, the application
might run for hours, even a day or so before being done with all the
images.

It is running fine when I test it with a couple of hundred images.

If the screen times-out, the processing seems to stop (onPause()
called). I do not want this behaviour. Nor do I want to run it in a
service & have Android wipe it out (also I'd like the progress bar to
be updated continuously). So here's my workaround: I set screen time-
out value of the device to "Never", keep the device plugged
in(charging), and run the application.

My question: is this an acceptable workaround? Does it have any
negative side effects?

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to