sorry.. a activity named "before" that I don't want to close or finish it, untile the other activity named "after" called, the "before" I want to finish.
but I don't know how to close "before" when "after" is called? thank you so much On 8月5日, 下午2時37分, Saurav Mukherjee <[email protected]> wrote: > i really do not understand wat u intend to say, all i can help is if u use > the Activity public function finish(), the activity closes. > use it when u need to close the activity, wisely. > > hope it helps. > > > > On Wed, Aug 5, 2009 at 9:09 AM, tstanly <[email protected]> wrote: > > > hi all, > > > for example,I have three activity now, > > a, b and c, > > a is start point of activity lifecycle, and can go to b or c, > > and then assume go to b from a and close a, > > and then go to c from b but will not close b, > > and this time, I want to check whether b is start(create) or not, > > > if b start, I want to close b and then go to a, > > if b doesn't start(possible will go to c from a doesn't via b), > > it will also go to a but do nothing for b > > > how can I do for that? > > > thanks!!!- 隱藏被引用文字 - > > - 顯示被引用文字 - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

