I parse the data from the service into data that can be persisted. If the data is small enough, the data is translated into a class that implements Parcelable. This parcelable is then assigned to the Intent that starts the Activity (using 'Extras'). When the process is killed and the user goes back to the Activity, Android (re)starts the Activity with the same Intent, including the 'Extras' that hold the original data. You don't need to do anything special for that.
If the data is too large to hold in a Parcelable (that is assigned to the Intent's Extras), then store the data in a cache (database, file, whatever seems best to you) and have a key to the entry of your data in the cache (e.g. primary key of a database row). Assign the key to the Intent's Extras that starts the Activity. Then when you Activity starts (onCreate/onNewIntent), get the key from the Intent and read the data from the cache using this key. -- 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

