Android Question Why is Activity_Create called when Android is killing an app?

PhilipBrown

Active Member
Licensed User
Longtime User
According to section 9.4 of Klaus' Beginners Guide, Activity_Create is called "when the activity was in the background and the OS decided to destroy it in order to free memory".
This seems a little extraordinary to me. Why would Activity_Create be destroyed during the kill? Is there any way of detecting that the activity is being killed? I have tried tracking this in the log and can't see any sign that this Sub is being called.
 
Top