activity-state

Should onSaveInstanceState save the "enabledness" of the views?

Hi there, I have a preferences activity where I can change the language and the theme of my application. From there I return to the previous activity via the Back key, and I want to recreate the activity. I've managed to do that by reinitializing the layout in onResume and also calling onRestoreInstanceState from there. All the views ...

onActivityResult no longer being called after onDestroy

Hi, onActivityResult is giving me major headaches. My little game has a title / menu screen. Upon clicking "new game" an Activity is launched which creates a SurfaceView for my game world. When playing, the player can enter buildings in the game world. Upon entering a building I launch the activity for that particular building from m...