Saturday, June 5, 2010

[android-developers] Home key - desired behaviour?

Hi all,

What is the desired behaviour when the user press the home key? I have
a situation here that when the home key is pressed and i call my
application again, it returns as if it was not destroyed (actually,
onDestroy is indeed not called).

So, is the behaviour:

1. when returning to the app, get it as a newly created app
or
2. when returning to the app, return it as it was left

As a side note, is there a way to know that the home key was pressed?
I don't want to intercept it, i just want to know it was pressed.

thanks

guich

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate