Android Question Pause Activity

nickysuwandi

Member
Licensed User
Longtime User
Dear All

I have using this code below to pause activity.


moveTaskToBack:
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
 

Num3

Active Member
Licensed User
Longtime User
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

Cableguy

Expert
Licensed User
Longtime User
I believe that using Authoring would solve your issue here...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…