Android Question automatically exit apps

riano_defretes

Member
Licensed User
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
 
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
Code: Copy
Activity.finish
If the user is doing something then dont forget to reset time global value
 
Upvote 0
Back
Top