Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 25
Registered: ‎11-10-2010
My Device: Not Specified

Blackberry API functionality for idle webworks widget.

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

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Blackberry API functionality for idle webworks widget.

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

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 25
Registered: ‎11-10-2010
My Device: Not Specified

Re: Blackberry API functionality for idle webworks widget.

Yes it is for application. But track how can I track the user's interaction and reset a background timer?

Contributor
Posts: 25
Registered: ‎11-10-2010
My Device: Not Specified

Re: Blackberry API functionality for idle webworks widget.

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