0

want:go to login page after user no interaction in 5 min. I can not found a method or something to get the exactly time. But how can android system decide when to lock screen? and user can set sleep time? can someone help me.

3
  • use Handler.postDelay() Mar 1, 2016 at 4:55
  • Similar to this.
    – Exception
    Mar 1, 2016 at 5:00
  • I tried. but there are so many activities.when I click button on fragment.It will not be called. @Exception
    – Jack chen
    Mar 1, 2016 at 5:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.