Reputation: 11097
I want to know how can I save state of my application in android.What I want is when user is using my app and in between he goes out of my app without doing logout.So when he again open my app he should be redirected to the page and its section where he left instead of first page. Is it Possible to do ? Please Help me..
Upvotes: 0
Views: 588
Reputation: 19344
You can always play around with
SharedPreferences
and
Editor
you save a value that represents where your user got it and when you reopen the app you load the page accordingly like 1 => main page 2=>user info 3=>credits etc
either check the android documentation or :
http://saigeethamn.blogspot.com/2009/10/shared-preferences-android-developer.html
Upvotes: 1