On Fri, Oct 1, 2010 at 1:44 PM, DanH <[email protected]> wrote:

> (I guess I'm not clear on whether onResume is reliably called when the view
> is un-hidden by an external app.)
>

onResume should be called anytime your Activity is returned to from another
activity, whether it's your own or not.

If you're definitely starting an activity when you click that button each
and every time and you want that button to be enable when the user gets back
to yours each and every time, this, I think, would be the most effective
solution.

Or just tell the users to only click once ... :-)

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

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