Questions tagged [idle-timer]

115 questions
0
votes
2 answers

JDialog's timeout when idle

How can I set the timeout for a JDialog when it is idle for example 90 seconds? It exits once no action, movement ,selection is done in the JDialog for 90 seconds. This thread gives timeouts but no idle condition - Can I set a timer on a Java…
Philip Morris
  • 459
  • 1
  • 9
  • 26
0
votes
0 answers

WebApi idle time unauthorized exception

I am using the asp.net webapi. in the webapi i am using the identity authentication. after sometime the webapi throws an unauthorized access exception.approximately this happens after idle time about the 10minutes.
0
votes
1 answer

idleTimerDisabled not working under iOS8 Gold Master

We have a video recording app which has worked fine under iOS6 and 7 and we thought it was working fine under the beta versions of iOS8. Since we have the Gold Master we are often pushed to the background when the iOS idle timer kicks in. We have…
Mike Edge
  • 11
  • 1
0
votes
1 answer

singleshot QTimer on OS X rapid fires multiple times and too early

I have implemented an idle timer on a resource (class) instances of which can be open in several applications at once. Hence, the idleTimer is not only a simple QTimer, but the slot (trigger) needs to verify if no other applications have accessed…
RJVB
  • 698
  • 8
  • 18
0
votes
1 answer

How to increase the idle timeout for zf2 zfc-user bjyauthorize

I built an application using Zend Framework 2 (ZF2). I use zfc-user and bjyauthorize to handle the authentication for the application. Everything works perfectly fine except the "idle timeout" is very short (possibly around 10 minutes). So if a user…
0
votes
0 answers

Idle Window Page WPF

I'm detecting inactivity of my WPF project. I've been using this code. readonly DispatcherTimer activityTimer; public MainWindow() { InitializeComponent(); InputManager.Current.PreProcessInput += Activity; …
Kuriyama Mirai
  • 867
  • 5
  • 17
  • 37
0
votes
1 answer

Jquery idletimer on element works in jsfiddle, not in browser

I am deeply puzzled... A day or so ago I posted a query about the use of idletimer attached to an element, so that events would or would not fire on activity/absence of activity in a particular element on a page, as follows: $("#testme" ).on(…
Peter Robinson
  • 363
  • 4
  • 17
0
votes
1 answer

JQuery idletimer not firing on element

Using the lovely Jquery idletimer from https://github.com/thorst/jquery-idletimer: seems I cannot attach the idle timer to a specific element (as opposed to the whole document). Here is my very simple code: To fire the idle timer: $("#testme" …
Peter Robinson
  • 363
  • 4
  • 17
0
votes
1 answer

Detect the application active time (after Application.Idle)

I want a simple method to check when the application is busy and when it is idle. After doing some searching I found two ways people have suggested. One us GetLastInputInfo function and other is the Application.Idle. I just want to detect the…
Fox
  • 9,384
  • 13
  • 42
  • 63
0
votes
1 answer

How to wake up ios from my app?

In my game, the sprites blink when iOS goes into idle. To fix this issue, I set idle timer disabled, but the app can still get idle in some scenarios, for instance, the app get sleep and then switch back by users. Is there any way I can wake up ios…
poordeveloper
  • 2,272
  • 1
  • 23
  • 36
0
votes
1 answer

Idle timer for Adobe AIR mobile applications (iOS / Android)

In Adobe AIR there are some useful events such as USER_IDLE and USER_PRESENT to tell if the system is being actively used or is idle after some preset amount of time, BUT they only work for desktop applications (Win / OSX), not for mobile apps (iOS…
OMA
  • 3,442
  • 2
  • 32
  • 39
0
votes
1 answer

How to check phone is idle or not running any app?? in Android

I want to check if android phone and processor is idle or not. Screen on/off is not sufficient for this case because may be music is playing even if the light is off and there are many examples like that. Can anybody give me any proper way to check…
Ateeq
  • 520
  • 1
  • 5
  • 17
0
votes
1 answer

How to prevent iPhone to lock when my app is charging

Whole question is in title. Here what I did. I test it I plug iPhone to my mac not to charger I don;t know if this is important. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary…
1110
  • 7,829
  • 55
  • 176
  • 334
0
votes
2 answers

Idle time inactive detection

In my application, I am not allowing the user to login more than once to the application with the same user. Every time he is login to the system I am updating his state in the database that he is logged in and after he logged out, his status is…
user2103335
  • 63
  • 4
  • 13
0
votes
1 answer

backstretch and idle-timer - making them worth together

I'm using the backstretch.js jquery module to make a background slideshow. Now, what I want to do is add in the jquery idle-timer, and have it interact with some of backstretch's elements. I've got a piece of code working, which shows and hides…
SamC
  • 319
  • 1
  • 3
  • 13