N nickysuwandi Member Licensed User Longtime User Aug 5, 2023 #1 Dear All I have using this code below to pause activity. Code: Dim jo As JavaObject jo.InitializeContext jo.RunMethod("moveTaskToBack", Array(True)) Return False This code is work fine below 10 minute, after that when we open the apps again, it back to login screen. i think this because the the apps killed by android os. Its there other way to pause activity in long time. Thanks Nicky
Dear All I have using this code below to pause activity. Code: Dim jo As JavaObject jo.InitializeContext jo.RunMethod("moveTaskToBack", Array(True)) Return False This code is work fine below 10 minute, after that when we open the apps again, it back to login screen. i think this because the the apps killed by android os. Its there other way to pause activity in long time. Thanks Nicky
N Num3 Active Member Licensed User Longtime User Aug 5, 2023 #2 Any task that is moved to the background will eventually be killed by the OS. You can manage the login part, by saving a variable once it is complete, and checking it everytime the program comes to the foreground/relaunched. Upvote 0
Any task that is moved to the background will eventually be killed by the OS. You can manage the login part, by saving a variable once it is complete, and checking it everytime the program comes to the foreground/relaunched.
Cableguy Expert Licensed User Longtime User Aug 5, 2023 #3 I believe that using Authoring would solve your issue here... Upvote 0