I\'m trying to save and restore the state of an Activity using the methods onSaveInstanceState() and onRestoreInstanceState().
Activity
onSaveInstanceState()
onRestoreInstanceState()
The state you save at onSaveInstanceState() is later available at onCreate() method invocation. So use onCreate (and its Bundle parameter) to restore state of your activity.
onCreate()
onCreate
Bundle