Hi there,

I'm unsure about some behavior that I'm observing with my application
using the 1.5 SDK.

I have an Activity which Overrides the onCreate, onResume, onPause and
onDestroy methods. In each method, I log a message so that I can see
what happens to my application when I do various things in my
Emulator.

If I open my application and return to my home scree, I get the
following events - onCreate, onResume and onPause. This is what I
expect from reading the Process Life cycle documentation.

However when I re-open my application from the shortcut on my home
screen, the same events fire. I never receive an onDestroy message at
all. Also the application is taking a long time to load the second
time around. I assume that the first instance is still running.

I expected that by selecting the shortcut on my home screen a second
time, that Android would detect that my application is still running
and resume running it as opposed to creating a new instance.

Any ideas?

Regards,
Mark England

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