title: How can I save state between orientations?
body: <p>In a previous question I asked how I could display two different layouts for portrait and landscape orientations: </p>
  
  <p><a href="https://stackoverflow.com/questions/3638467/app-crashes-when-switching-to-landscape-layout">Problem switching to landscape orientation</a></p>
  
  <p>Now I would like to know how I can save the state of my application before it goes into another orientation? I seem to lose this data any time orientation changes.</p>