W wheretheidivides Active Member Licensed User Longtime User Mar 27, 2013 #1 I am having memory issues (insert joke here). After restarting the program it crashes after 4-14 restarts. I think it is just filling up the memory each time I run the program until it is out of memory. So if I put ExitApplication at the end of activity_pause, will this completely destroy the program and destroy all variables and such? It's OK to go through 'is first = true' each time. I don't care. But is my assumption correct Would this just erase everything? I can always have the variable reload.
I am having memory issues (insert joke here). After restarting the program it crashes after 4-14 restarts. I think it is just filling up the memory each time I run the program until it is out of memory. So if I put ExitApplication at the end of activity_pause, will this completely destroy the program and destroy all variables and such? It's OK to go through 'is first = true' each time. I don't care. But is my assumption correct Would this just erase everything? I can always have the variable reload.
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2013 #2 ExitApplication will kill the process. You should make sure that all activities and services are properly closed before calling this method. Upvote 0
ExitApplication will kill the process. You should make sure that all activities and services are properly closed before calling this method.
Eric H Active Member Licensed User Longtime User Dec 7, 2013 #3 Activity.Finish Android Process and activities life cycle: http://www.b4x.com/android/forum/threads/6487 Upvote 0
Activity.Finish Android Process and activities life cycle: http://www.b4x.com/android/forum/threads/6487