On Fri, Dec 24, 2010 at 8:36 AM, dan <[email protected]> wrote: > Am I missing something programmatic?
The fact that all the code in your onCreate executes sequentially. You show your EULA dialog then you start your Task. No where are you specifying that that execution of said task is dependent on the acceptance of the EULA. One solution would be to update the Eula.show() method to also take an event handler object that gets called when they click the accept option. In your activity, this handler would then start your task. Also, the fact that the show method itself checks the preferences to determine whether it should actually show is rather silly, IMO. I would change that too. ------------------------------------------------------------------------------------------------- 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

