Questions tagged [idle-timer]
115 questions
0
votes
1 answer
Simple Ticker (Idle Game) Concept
I am trying to make a simple ticker game. A ticker ticks at the rate of 1 clix per second as shown in the code below. When there are enough clix (in this case, 40 for an Apple) I want to be able to purchase it, and the clix should reset by an amount…

therion
- 415
- 4
- 14
0
votes
1 answer
How to prevent phone from going to idle mode
I've developed an application that streams music (via internet connection) using service and having trubles streaming content without phone going idle.
While i was developing my application each time i tried case mentioned below the music was…

luka cagalj
- 15
- 1
- 7
0
votes
1 answer
setIdleTimerDisabled and MPMusicPlayer Issue
Ok I want to disable the idletimer in my app. I put the code below in appdelegate in the applicationDidFinishLaunching method, and it works fine (the device remains unlocked)
[application setIdleTimerDisabled:YES];
Though, when I play a music…

GeneCode
- 7,545
- 8
- 50
- 85
0
votes
1 answer
Actions are not being triggered by idle timer
The goal of the code is to see if the computer is idle. If enough time passes it then first gives a warning that the file is about to save and then if there is no response for another bit of time to auto-save the file. However, the idle timer is not…

jacob_m
- 31
- 7
0
votes
1 answer
How to show idle time in minutes
I am trying to code an application that detects user activity. If the user is idle for five minutes or so, the computer will shut down. I can show idle time in a label but I can only do it in milliseconds. I want to show it in minutes, it'd be…

autumno
- 1
- 1
0
votes
1 answer
Detect App idle time period for iOS in Xamarin forms
I recently started working in Xamarin forms and quite happy to be part of Xamarin community. I've a requirement to kick out the loggedIn User if he is idle on app for 10 mins. I got through of it in Android part using usual Life Cycle methods…

sohit sharma
- 1
- 2
0
votes
0 answers
error-page vs idle Monitor
First i would like to know if the session timeout in my web.xml is related to user inactivity or this timeout start when the user is logged?
I would also like to know what is the best practice when the session is timed out:
-using error-page for…

user2365813
- 3
- 5
0
votes
1 answer
How to use a timer on "idle timer"
I am making an app where I would like to make the app go to sleep in 2 hours after a button is pressed. I have seen some stuff online with using "idle timer" to deactivate it. But I have not seen how you put this on a timer.
user8105388
0
votes
2 answers
Qpid Proton: idle_timeout configuration
I am using Qpid Proron 0.18.1 version. The idle_timeout is printing out to be,
connection.idle_timeout() : 15000. I am not able to trace back to the code where the default value 15000 is set. Also, when I am changing it in container as…

Mooni
- 121
- 12
0
votes
1 answer
Autohotkey: Restart a "screensaver" script/part of a script (Starting VLC)
I wanted to create a "VLC-screensaver" script:
When the user/system is idle for a certain time VLC should start and play a video from a specified folder. I can start the script and VLC is being executed by it after the set time. Now I exit it with…
0
votes
1 answer
AppleScript read data every few minutes
I run a screen which display some data on the menu bar
the variables are taken from "~/Desktop/_MyData.plist"
everything work fine, however when the data change on _MyData.plist
How, can I make the script getting the new data ? I guess we can't…

Kevin
- 1,076
- 4
- 22
- 49
0
votes
1 answer
is it possible to detect idle use on php like detecting in JavaScript even for mouse focus
However there are lots of ways in PHP to logout the application when user is idle using session i am using
while login
$_SESSION['last_activity']=time()+10;
in header
$expire_time = 10; //10 secs
if($_SESSION['last_activity'] <…

Pattatharasu Nataraj
- 240
- 10
- 27
0
votes
1 answer
Idle timer never activated so App never sleeps
I have an app with a sleep timer where the user can select that after a certain duration of time, the app will suspend. Basically what I do is:
Use this code at the start of the app to disable the app timer:
[[UIApplication sharedApplication]…

pingin
- 482
- 1
- 6
- 19
0
votes
0 answers
Batch file script that will check if the user is idle, then initiate the rest of the script
I wrote a script that will log someone out of the ticketing system I use at my company, is it possible to create a script to check if the user has been idle for about 5 minutes (i.e, no keystrokes or mouse movement) one they're idle initiate the…

Jaydon
- 1
- 1
0
votes
2 answers
Why is this AppleScript idle timer not triggering correctly?
I am trying to create a timer that increments at a certain time (in this case, whenever the time is xx:03:24) and sends a notification when it reaches a user-inputted value. Once it does so, it resets the increment and repeats until manually…

Saklad5
- 3
- 2