I’m new in android.I want to know how to add a session time-out function in a program for Android? like using website ,if you have no action in one hours ,the page will remind and log out.how to realize this in Android application?thank you
Share
Maybe AlarmManager is what you want.
To schedule an alarm:
To cancel an alarm: