source: other-projects/tipple-android/trunk/src/org/greenstone/android/tipple/EditPreferences.java@ 24257

Last change on this file since 24257 was 23977, checked in by davidb, 13 years ago

Initial set of files for the Tipple project, to be run on an Android device

File size: 1.4 KB
Line 
1/*
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Based on file of the same name from mapsforge.org
17 *
18 */
19package org.greenstone.android.tipple;
20
21import android.os.Bundle;
22import android.preference.PreferenceActivity;
23
24/**
25 * Activity to edit the application preferences.
26 */
27public class EditPreferences extends PreferenceActivity
28{
29 @Override
30 protected void onCreate(Bundle savedInstanceState)
31 {
32 System.err.println("*** EditPreferences::onCreate()");
33 super.onCreate(savedInstanceState);
34 addPreferencesFromResource(R.xml.preferences);
35 }
36
37 @Override
38 protected void onResume()
39 {
40 System.err.println("*** EditPreferences::onResume()");
41 super.onResume();
42 }
43
44 @Override
45 protected void onStop()
46 {
47 System.err.println("*** EditPreferences::onStop()");
48 super.onResume();
49 }
50}
Note: See TracBrowser for help on using the repository browser.