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
<http://code.google.com/android/reference/android/app/Activity.html>.
It's important to be very familiar with them when developing Android
applications.



On Sun, Jan 4, 2009 at 10:17 AM, cindy <[email protected]> wrote:
>
> My application have several screens, when user clicks "back" button,
> it goes back to next screen. Which function will be called, when it is
> back?
>
> I used some static variable to remember global function. I found that
> sometime, the value of those variable has been changed.  Do you
> experience the same problem?
>
> Thanks!
>
> April
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to