Back to project page android-accelerometer-gps.
The source code is released under:
MIT License
If you think the Android project android-accelerometer-gps listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.szlosek.whenmoving; /*from w ww . j a v a 2 s . com*/ import android.preference.PreferenceActivity; import android.os.Bundle; import android.util.Log; public class SettingsActivity extends PreferenceActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.layout.settings); } // Is there an onPause ... some other way I can update the MainActivity if this activity goes away @Override protected void onPause() { super.onPause(); MainApplication.onPreferenceChange(); } }