[android-developers] Re: when user click back, which function is called

2009-01-06 Thread Andrew Stadler
Cindy (or April)- > Will finish() be called every time? As I wrote before, unless you override the key handlers, pressing the back button *will* call finish(). > so current activity will be > totally destroyed (onDestroy() will be called)? Please refer to the documentation I sent you the link

[android-developers] Re: when user click back, which function is called

2009-01-05 Thread cindy
Will finish() be called every time? so current activity will be totally destroyed (onDestroy() will be called)? If a application begin with Activity A, A start Activity B, B start C. User click back from C. C will be distroyed? B's onCreate() or B's onStart() will be called? For example, if B ne

[android-developers] Re: when user click back, which function is called

2009-01-04 Thread Andrew Stadler
Unless you've overridden the key handlers, clicking "back" will call finish() on your activity, which will cause the activity to exit via the standard transitions. The transitions between activities are documented in . It's impor