Hello, You can derive from Android.App.Application, this will give you a (singleton) class which can hold global application state. When the application is re-started you'll see the constructor for this get called and you can initialise state. This is independent of any activities being created and destroyed.
For such a class you need to use the [Application] attribute - this will add the appropriate entry in the AndroidManifest.xml. Hope this helps. Andy -----Original Message----- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of jnmahi Sent: 01 June 2011 12:39 To: monodroid@lists.ximian.com Subject: Re: [mono-android] SPAM-LOW: Re: statemanagement in activity Hi , Thanks for your instantaneous reply. i can use file or class to save data but is there any property by setting which this data will be reset on mobile restrt . I mean these file will remain in my application how can i know that mobile restart has happen ???? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/statemanagement-in-activity-tp 4441559p4445002.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid