Back to project page CleanLockscreen.
The source code is released under:
GNU General Public License
If you think the Android project CleanLockscreen 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 gd.sec.cleanlockscreen; /*from www . jav a2 s .c om*/ import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceFragment; public class CleanLockscreenPreferenceActivity extends PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Display the fragment as the main content. getFragmentManager().beginTransaction() .replace(android.R.id.content, new CleanLockscreenPreferenceFragment()) .commit(); } public static class CleanLockscreenPreferenceFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getPreferenceManager().setSharedPreferencesMode(MODE_WORLD_READABLE); addPreferencesFromResource(R.xml.preferences); } } }