Hi All
After the app is moved to the background,it seems that I am facing this issue now a lot more than before. Or at least I am noticing the issue a lot more.
Many of the global variables are destroyed, which is causing major app crashes.
Is there a way around this without having to store all variables to a file?
I already have the above in place to a certain extent
B4X:
Sub Service_Start (StartingIntent As Intent)
GC.GC_Init 'This initialized main classes
End Sub
Whoever, i believe that it might be extremely dangerous to wipe everything all the time, as there could be some session specific variables (like encryption keys etc.. ).
Do you talk about Process_Globals or Globals variables ?
In my app Process_Globals are present almost in all activities and Services. The app starts/stops activities and services many times.
Never noticed that variables are changed due to these acrtions.