How to automatically logout the Android app if it is not touched(inactive) for 30 mins?

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

I am developing an android app.I just want that if i don't touch (InActive)my app for 30 mins ,it automatically logout.I have Activity and fragment both files.I have googled a lot and implement many codes but no one worked out.So please kindly allow me a code which could do this.And please make it clear that in which Activity and fragment i need to implement that.I will be really very thankful to you.Please reply as soon as possible.
 
You will have much better luck creating an account and posting this question in the developer's forum.
 

Forum statistics

Threads
955,800
Messages
6,965,851
Members
3,163,396
Latest member
LuuBcln