android - Temporarily kill an activity -


is there way kill activity when user leaves application , resume once person starts application again? kind of finish(); .

on onpause method use sharedpreferences save app state, destroy activity, when app relaunched restore state on oncreate


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -