How to make an activity stop, rather then be destroyed, from the BACK key?

Viewed 14144

Right now an activity gets destroyed when the BACK key is pressed. How can I make it just stop ( i.e. keep all the variables, etc. alive ), rather then be destroyed?

Thanks!

7 Answers
Related