Back to project page cicada.
The source code is released under:
Apache License
If you think the Android project cicada 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 org.cicadasong.cicada; //from www . j av a2 s.co m import android.content.Context; import android.os.Bundle; import android.preference.PreferenceActivity; public class CicadaSettingsActivity extends PreferenceActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getPreferenceManager().setSharedPreferencesName(PrefUtil.SHARED_PREF_NAME); getPreferenceManager().setSharedPreferencesMode(Context.MODE_PRIVATE); addPreferencesFromResource(R.xml.preferences); } }