I want to implement an auto user logout after an idle time of X mins in my project. So I have googled for relevant examples but they cant seem to debug properly with my existing codes. My intentions are to utilize:
-a BackgroundProcessingService extend Service
-a CountDownTimer
Can anyone help me with a basic auto user logout program?