Save the values you want to persist in onPause() or onStop() using SharedPreferences or you can also use onSaveInstanceState() to save your values and extract it when the activity is started the next time.
On Mon, Aug 13, 2012 at 9:12 PM, TreKing <[email protected]> wrote: > On Mon, Aug 13, 2012 at 12:28 AM, Sadhna Upadhyay < > [email protected]> wrote: > >> can someone tel me how to prevent from reinitializing value when activity >> is re called i mean > > > You need to explain more clearly exactly what you're trying to do. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > -- > 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 > -- 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

