BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-04-2009, 10:31 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 7100T
PIN: N/A
Carrier: tmobile
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default idle time in JDE 4.6.1 and 4.7

Please Login to Remove!

Whenever i request the idle time on a simulator in JDE 4.6.1 (Blackberry 8900 simulator) or in JDE 4.7 (Blackberry 9500 simulator, Blackberry 9530 simulator) by calling:
DeviceInfo.getIdleTime()
it returns zero.

When placing a breakpoint and waiting a few seconds the same call returns a value larger than zero!

In lower JDE's I have not run into this issue.

Does retrieving the idle time on a real Storm also always return zero (when not making use of the debugger)?

Is there a known alternative (different from the above mentioned call) of retrieving a device's idle time?

What actually is idle time? What actions apart from user interaction with the device result in an idle time being set to zero?

Thanks for any insights!
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.