My android app exits during pivoting
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5824256/my-android-app-crashes-on-exit-and-during-pivoting">My android app crashes on exit and during pivoting</a>  </p>
</blockquote>



<ol>
<li>When I try to switch from portrait to landscape or the other way around, my app exits. </li>
<li>When I click on an item on the list view, it views data using the browser, but then when I press the back button, it exists, instead of coming back to the previous screen.</li>
</ol>
