user386430
user386430

Reputation: 4967

How to handle time out or idle time of user in application in sencha touch

Can anybody tell How to handle time out or idle time of user in application in sencha touch.Suppose if user is not using the application more than 10 mins need to navigate login page

Thanks

Upvotes: 0

Views: 431

Answers (1)

RED.Skull
RED.Skull

Reputation: 1736

This plugin i am using in current app. https://github.com/arthurakay/ExtJS-Activity-Monitor check this

In launch function u can use this code, even u can set the time interval for check. please go through the Activity monitor js file u will get some idea. u have to do some customisation

Ext.ux.ActivityMonitor.init({ verbose : true });
Ext.ux.ActivityMonitor.start();

Upvotes: 0

Related Questions