Thanks, I think that it will help me a lot. And yes how did you say I'm not English :) One more question : How I can "check these flags to see whether or not the user is selecting in the ORDER I want?
On aug. 19, 20:29, Indicator Veritatis <mej1...@yahoo.com> wrote: > You also replied so briefly, if as a non-native English speaker, he > was uncertain how you meant each word, he would not GET that "general > idea". > > So I will restate it in a manner that should be more clear: 1) make > each separate touchable thing a separate View 2) write one touch > listener for each View, 3) in that listener, set a boolean variable to > be used as a flag: make that variable a variable of the Activity > containing all the Views; for now, don't think too hard about > lifecycle. Then you can check these flags to see whether or not the > user is selecting in the order you want. > > Then, once you have all that working, if you want the app to work > correctly even if the user pauses or runs other apps in between, or > even if the system kills an app, read the online docs on Activity > lifecycle management, > e.g.,http://developer.android.com/guide/topics/fundamentals/activities.html, > especially "Managing the Activity Lifecycle". > > On Aug 19, 6:41 am, TreKing <treking...@gmail.com> wrote: > > > > > > > > > On Fri, Aug 19, 2011 at 4:51 AM, Zwiebel <hunzwie...@gmail.com> wrote: > > > Thanks for the answer. Can you give me a short example please? I'm only > > > beginner in android and... ok I'm beginner :) > > > I *could*, but that would rob you of valuable experience. I gave you the > > general idea - now just try something. If it doesn't work, let us know what > > you tried and what's not working and we can help further. > > > --------------------------------------------------------------------------- > > ---------------------- > > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en