Back to project page WiFiKeyView.
The source code is released under:
Apache License
If you think the Android project WiFiKeyView 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.whd.wifikeyview.preferences; //from ww w. ja v a 2 s . c om import java.util.List; import com.whd.wifikeyview.R; import com.whd.wifikeyview.preferences.fragments.DebugPreferences; import com.whd.wifikeyview.preferences.fragments.ShowPasswordPreferences; import android.os.Bundle; import android.preference.PreferenceActivity; public class SettingsActivity extends PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Override public void onBuildHeaders(List<Header> target) { loadHeadersFromResource(R.xml.preference_headers, target); } protected boolean isValidFragment(String fragmentName) { return ( DebugPreferences.class.getName().equals(fragmentName) || ShowPasswordPreferences.class.getName().equals(fragmentName) ); } }