In what your problem concern, and if you want to assume that your
Activity that goes to background when home key is pressed it's not
killed, I think you can override the methods, onSaveInstanceState()
and onRestoreInstaceState(). When saving the state you save a
homeKeyWasPressed value. You have KeyEvent.KEYCODE_HOME that I
supposed is the home key:

http://d.android.com/reference/android/view/KeyEvent.html#KEYCODE_HOME

Then, you manage your homeKeyWasPressed state, and you save it and
restore it with the methods mentioned above.

I think it should be a _possible-but-no-good_ solution.

Regards,
-- 
If you want freedom, compile the source.

Sebastián Treu
http://labombiya.com.ar

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