jimmythesaint wrote: > When the screen orientation changes I am loosing data from my app I > must not be saving it correclty > > Currently I save data in the onPause ( by writing an object out to > temp file ) and restore using onCreate - by reading the file in that > was saved > > What more do i need to do to ensue that when activity is restarted > data will be saved > > Specifically > > Screen Orientation > App Killed
Look at onSaveInstanceState(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

