how can i know my application is in not working mode?
<p>i have one application in that i want to know that is this in idle mode ?</p>

<p>how can i know this ?</p>

<p>in my application when it go in idle mode i want to stop one java script. or you can say when  no one using application for long time .</p>
