Android Question Activity Cycle and Screen Going Dark

Guardian17

Active Member
Licensed User
Longtime User
If the screen timeout on my device occurs (my App is running on a Galaxy S3 phone and the screen goes dark after a period of non-use, with no orientation change and no other App being started), when I re-access the device and the screen comes back, what part(s) of the Activity Cycle will be re-run (Activity_Create; Activity_Resume; or NOTHING -- it should just re-appear as it was prior to the screen going dark without any Activity Cycles being re-run)?
 

Guardian17

Active Member
Licensed User
Longtime User
Rolf:

Thank you for replying to my post. I will look into the StateManager Tutorial shortly.

I'm curious as to why this situation is not mentioned specifically in the Activity_Pause/Resume info (since it is a fairly common occurrence).

The following quotes are from Section 9.6 of the Beginner's Guide:
... and slightly further in the same Section:
Does the act of the device going into its timeout condition where the screen goes dark qualify as falling under Condition (3) above? If so, what is the new configuration change condition that causes this? Or is this considered moving to the background? What other "configuration changes" qualify under Condition (3) ?
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…