title: User Inactivity in android?
body: <p>I want to see for user inactivity in my android app.If user does not perform any activity say for 1 min then the app should go offscreen meaning it should display a dialogbox asking for the password(previously stored in sharedpreferences).If password matches the activity should start up again.Can some body please help me out in this I dont understand from were to start or what to search for.Or can some one provide me some links do achieve this?</p>