Back to project page swazam.
The source code is released under:
MIT License
If you think the Android project swazam 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 at.saws2013.szazam.fragments; //from w w w . j a v a 2s. c o m import android.os.Bundle; import android.preference.PreferenceFragment; import at.saws2013.szazam.R; /** * Fragment which allows the configuration of the * hostname. After that the hostname will automatically * stored in the shared preferences * * @author Ren? * */ public class SettingsFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Load the preferences from an XML resource addPreferencesFromResource(R.xml.preferences); } }