How to automatically logout the Android app if it is not touched(inactive) for 30 mins?

Printable View