Hi I am building my first app and I am not quite sure about the architecture
I started with an object which holds the data. I pass this via Intents to my activities and when they are done they pass it back ( if they changed it ). This seemed like a way of keeping data between activities and is quite simple ( the object is serializable ) Now I am looking at the app lifecycle and I dont want to looe data so I am writing the object to a file on the onPause event of each activity. Does this make sense ; writing data on each onPause since i dont know when the app could exit and be destroyed ? Seems lke i may as well not bother passing it throgh intents and just read it from file on each activity start ?? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

