Hi all,

I know this is not how an async task should behave but my question is
how to "block" the user while executing it.

My need is the following:
I have my own backup/restore process and I have an async task to run
these two actions.
The backup is fine, I can warn the user when the backup is done and
that's just fine!
But my problem is about the restore process. When the user click on
restore he shouldn't be able to make any change in the application
(and anyway don't want to because he would lose all his changes).
I understand that having the user blocked while restoring (or maybe
with a progress bar) is not a best pratice but I do not see any other
possibility in this context.

I need your advices about it.

Thanks in advance,

Regards,
Kim


-- 
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