Thursday, May 13, 2010

Re: [android-developers] Blocking current Activity/Screen till current task is complete

On Thu, May 13, 2010 at 9:15 AM, dillipk <codersnet2010@gmail.com> wrote:
If some the same activity is waiting for some response from server or some data updation is going on and then press BACK, I want to wait on the same screen till the current task is completely processed and then move out to the previous activity.

On top of what SOB said, this is a bad idea - don't block the user from doing anything, especially if it's going to take a long time. If I press back while you're doing some long-running operation (presumably with a progress dialog running) I expect that operation to cancel out - not to sit there trying to finish what it started. If you ignore that and make me wait or hit the Home screen to exit your ongoing process, you can be fairly certain your app will not be installed for long...

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment