I believe that when you edit the preferences and you do a commit() it will trigger to call the registered OnSharedPreferenceChangeListener.
I haven't tried using that but that's what it seems from reading the APIs: http://developer.android.com/reference/android/content/SharedPreferences.Editor.html -Moto On Jul 28, 3:16 pm, TreKing <[email protected]> wrote: > On Wed, Jul 28, 2010 at 5:41 AM, { Devdroid } <[email protected]>wrote: > > > Is there a way to notify preferences that some values has changed (i.e. in > > OnSharedPreferenceChangeListener) so the prefs shall be re-read? > > Notify what "preferences"? What's "the prefs" that shall be re-read? > > > How can I dynamically modify preferences values from within preferences > > activity? > > The same way you do it anywhere > else:http://developer.android.com/reference/android/preference/PreferenceM...) > > ------------------------------------------------------------------------------------------------- > 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

