I want to close my application after certain interval of time it its in background. I found many examples to close the application in background and about how to know if application is in background but i didn't find anything related to this.
I want to implement something like auto Logout feature like session, if there is no interaction with application then after specific time of interval is should closed.
Any idea and suggestion will be appreciated.
Thanks