Michael Scott wrote:
> Hi,
> 
> I have two buttons in an activity/view A0, b1 and b2 that respectively
> starts (for result) the activities A1 and A2. After tapping/clicking
> b1 I quickly tap b2 aswell. The result will be that both A1 and A2 are
> launched. Is there any obvious way to not have this behaviour, i.e. to
> "lock" A0?

Disable the buttons before launching A1. Re-enable the buttons in
onActivityResult().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

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