You can test whether there are other instances in the onCreate method, I think. You may be able to call getInstanceCount() and finish() if there are multiple instances. The docs don't say much about it, though.
On Oct 1, 10:53 am, DanH <[email protected]> wrote: > If I have a button that starts an activity, and the activity sometimes > takes a second or two to throw up its own view, how can I most simply > and reliably protect against the button being clicked multiple times > and kicking off multiple (identical) activities? -- 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

