Questions tagged [idle-timer]
115 questions
158
votes
10 answers
iPhone: Detecting user inactivity/idle time since last screen touch
Has anybody implemented a feature where if the user has not touched the screen for a certain time period, you take a certain action? I'm trying to figure out the best way to do that.
There's this somewhat-related method in…

Mike McMaster
- 7,573
- 8
- 37
- 42
12
votes
2 answers
Using Golang to get Windows idle time (GetLastInputInfo or similar)
Is there an example or method of getting a Windows system's idle time using Go?
I've been looking at the documentation at the Golang site but I think I'm missing how to access (and use) the API to get system information including the idle time.

Bart Silverstrim
- 3,445
- 6
- 34
- 44
9
votes
1 answer
Idle Detection in WPF
I'm new in using WPF so I have no Idea how to detect Idle time and show the main window after 5mins of Idle.
Can anyone help me? Thank you so much.

Kuriyama Mirai
- 867
- 5
- 17
- 37
6
votes
1 answer
IOS: How do you prevent the screen from greying out immediately when re-enabling the idleTimer
I'm working on an iOS game that primarily uses accelerometer input. Previous programmers set idleTimerDisabled=YES on startup and left it that way. I recently made a change such that the idle timer is only disabled during gameplay, and is re-enabled…

MidgardSerpent
- 83
- 2
- 8
4
votes
3 answers
Remote Linux Idle time of local user
I'm looking for a way to determine the local input (mouse/keyboard) idle time,
remotely through SSH, without having root access or access to the currently logged on user Xauthority.
I know the following solution which works if you have access to the…

Philipp F
- 874
- 9
- 29
3
votes
1 answer
Hide a bunch of Divs after user inactivity
I'm using Paul Irish's idle-timer plugin available here : http://paulirish.com/2009/jquery-idletimer-plugin/ .
I want to hide some divs after 5 seconds of inactivity and show them back when user activity's catched .
Here is my code…

Florian Didron
- 31
- 1
- 3
3
votes
2 answers
phonegap, iphone and the big bad idleTimerDisabled
reading a lot about how to prevent iphone goingto sleep while running my app I am very unhappy at the moment because nothing worked..
here I read about the idea to set up a timer for every 30 seconds to set the idleTimerDisabled to NO and then YES,…

headkit
- 3,307
- 4
- 53
- 99
3
votes
1 answer
Help with why my app crashed?
I'm writing an iPad app that is a "kiosk" app. The iPad should be hanging on the wall and the app should just run. I did a test, starting the app last night (Friday, December 31) and letting it run. This morning, when I woke up, it was not running.…

Moshe
- 57,511
- 78
- 272
- 425
3
votes
3 answers
Redirecting user when idle in JSF with PrimeFaces
I would like to send user to /login.xhtml if he/she is idle for a given period of time. I have tried PrimeFaces but can't figure out how to achieve this.
user3575427
3
votes
2 answers
App goes straight to idle on setIdleTimerDisabled: NO
I'm using
[[UIApplication sharedApplication] setIdleTimerDisabled: YES];
to keep the app from entering idle, however when I issue
[[UIApplication sharedApplication] setIdleTimerDisabled: NO];
the app goes straight to idle.
Is there a way to…

robspencer77
- 149
- 2
- 11
3
votes
1 answer
User idle time while typing in input
The problem I'm having is a search function which should call my doSearch()-method after the user stopped typing for at least 100ms in my $("input#q) field.
I tried to achieve this by using the logic of this answer, but I'm stuck with where I should…

Seybsen
- 14,989
- 4
- 40
- 73
2
votes
1 answer
What is the idle timer value of iPhone Device?
I want to do something like this for my app.
User selects a lockAppAfter some minutes you say 1,2,5,10 like that and if user is doing nothing then device should enter in idle mode as per user selected time. Is it possible to control device's idel…

Rahul Vyas
- 28,260
- 49
- 182
- 256
2
votes
2 answers
ReactJS : How to detect network idle between XHR requests
I'm fairly new to the JS world and working with React JS. Couldn't find anything for the exact solution.
I want to implement an App level idle timer which would be activated when the user does not make any server request for a specific time period.…

hokage
- 58
- 3
2
votes
2 answers
localStorage on javascript leads refreshing
I am trying to fire out the user when idle, using javascript across tabs, the below code working fine for single tab for multiple tab it is not working properly
For Eg: I have set 10 secs as idle time and left the first tab it throws out the user on…

Pattatharasu Nataraj
- 240
- 10
- 27
2
votes
3 answers
VB.NET: Idle Time external Application
I saw a lot of posts about calculating idle time within a program, but what I am trying to do is calculate the idle time of a separate Windows program. Long story short, we have 12 licenses for very expensive accounting software. We have about 20…

Alex S.
- 45
- 5