02-23-2011 07:56 PM
Hi,
Does Blackberry API provides any functionality to close a webworks widget if it is idle for a period of time?
Solution with example will be very helpful.
--Thanks
02-23-2011 08:44 PM
Are you wanting to track if the application is idle for a period of time, or the device in general?
If it is your application, you should be able to track the user's interaction and reset a background timer.. when the timer times out, you can force the application to exit using the blackberry.app API
02-23-2011 08:48 PM
Yes it is for application. But track how can I track the user's interaction and reset a background timer?
02-23-2011 09:04 PM
Let me elaborate my query here. How to set idle time for webworks widget application? And if its going to be a javascript function then how it will be called from all the screens?
--Thanks