Hi, I have a requirement to implement an Exit button in my Android
application. I don't really care about killing the activity stack, I
just want to have the same effect as pressing the Home button. So that
application state is saved and can be returned to. I've tried making a
call to
You cannot simulate a press on the Home key.
On Wed, Mar 10, 2010 at 8:23 AM, Wides erich.weid...@gmail.com wrote:
Hi, I have a requirement to implement an Exit button in my Android
application. I don't really care about killing the activity stack, I
just want to have the same effect as
Wides wrote:
Hi, I have a requirement to implement an Exit button in my Android
application.
Tell whoever gave you that requirement to eliminate the requirement.
http://www.androidguys.com/2010/01/13/android-development-its-just-different/
I don't really care about killing the activity
On Wed, Mar 10, 2010 at 10:23 AM, Wides erich.weid...@gmail.com wrote:
I just want to have the same effect as pressing the Home button. So that
application state is saved and can be returned to.
What's wrong with just finish()'ing your activities?
If I hit Exit on your app and instead of
4 matches
Mail list logo