Back to project page nsa-away.
The source code is released under:
GNU General Public License
If you think the Android project nsa-away listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright 2014 individual contributors as indicated by the @author * tags/*w w w . j a v a2 s . c o m*/ * * This is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this software. If not, see <http://www.gnu.org/licenses/>. */ package org.sector67.nsaaway; import android.os.Bundle; import android.preference.PreferenceActivity; /** * * @author scott.hasse@gmail.com * */ public class SettingsActivity extends PreferenceActivity { public static final String KEY_PREF_SYNC_CONN = "pref_nsaAway"; public static final String KEY_PREF_KEYSTORE_PATH = "pref_key_dir"; public static final String KEY_PREF_DEFAULT_DECRYPT_KEY = "pref_default_decrypt_key_name"; public static final String KEY_PREF_DEFAULT_ENCRYPT_KEY = "pref_default_encrypt_key_name"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Display the fragment as the main content. getFragmentManager().beginTransaction() .replace(android.R.id.content, new SettingsFragment()) .commit(); } }