Register / Login
auto lock application after fixed time
posted 7 years ago
I want to know if there is a way to get the notification for inactivity timer.
My scenario is as
If user remains idle for 1 min. then I
get the notification so that I can exit the application.
How does the emulator/device gets the notification of idleness and the back light goes dim?
Can someone please guide me how to implement it or point to a sample application.
Thanks in advance
posted 6 years ago
You can use the combination of WakeLock and onUserInteraction() method to accomplish this.
File Access from a Directory.
How to find the Browser Idle time?
Alerting the user about Session expiry after idle-time
User Idle Time?