How can I store the state of my app when back button is pressed.
When back button is pressed only onPause() is called but not onSaveInstanceState where we can store our data in outState bundle.
One answer may be sharedPreference but my problem is it will store only int and not intArray as bundles does.
Is there any way to explicitly call onSaveInstanceState?
 
     
     
    