Call finish() on an activity you would like to, well, finish.
27.12.2010 11:40, Abhilash baddam пишет:
Hi ,
I am new to android. How can we exit from application...For example if
we have 3 activities each activity consists one button..when we click
on a button which may be from any activity, i want to exit from
application and it should go home screen. again if we start the
application from emulator it should start from the beginning of the
application. How can we do this.?
Regards,
Abhilash.B
--
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
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
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