R riano_defretes Member Licensed User Jan 3, 2016 #1 Hi erel, can you give the example or maybe library to handle this. when there is no activity from user (click,slide, etc), apps automatically exit/close? thx
Hi erel, can you give the example or maybe library to handle this. when there is no activity from user (click,slide, etc), apps automatically exit/close? thx
DonManfred Expert Licensed User Longtime User Jan 3, 2016 #2 This is a community forum. Don´t limit your question to a single member! create a global variable holding a value... use a timer to decrease the value... if reaching 0 then call B4X: Activity.finish If the user is doing something then dont forget to reset time global value Upvote 0
This is a community forum. Don´t limit your question to a single member! create a global variable holding a value... use a timer to decrease the value... if reaching 0 then call B4X: Activity.finish If the user is doing something then dont forget to reset time global value