I may be over-thinking this one and maybe missing the obvious but ...
Is it possible for an Activity to force its own re-creation, as if the device was rotated, so the Activity is destroyed and Activity_Create runs again. I would like to to set some Process Globals in an Activity to guide its re-creation then force its own recreation.
It looks like using StartActivity("<MyActivityName>") within the activity does indeed restart it and it looks like it might just re-create it and not duplicate the activity on the Activity stack as I would expect, but can anyone confirm this and that there are no unfortunate things happening in the background?
EDIT: It looks like StartActivity might indeed duplicate the Activity and so will no do for what I want!
Is it possible for an Activity to force its own re-creation, as if the device was rotated, so the Activity is destroyed and Activity_Create runs again. I would like to to set some Process Globals in an Activity to guide its re-creation then force its own recreation.
It looks like using StartActivity("<MyActivityName>") within the activity does indeed restart it and it looks like it might just re-create it and not duplicate the activity on the Activity stack as I would expect, but can anyone confirm this and that there are no unfortunate things happening in the background?
EDIT: It looks like StartActivity might indeed duplicate the Activity and so will no do for what I want!