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 | */
|
---|
19 | package org.greenstone.android.tipple.base;
|
---|
20 |
|
---|
21 | import org.greenstone.android.tipple.R;
|
---|
22 |
|
---|
23 | import android.os.Bundle;
|
---|
24 | import android.preference.PreferenceActivity;
|
---|
25 |
|
---|
26 | /**
|
---|
27 | * Activity to edit the application preferences.
|
---|
28 | */
|
---|
29 | public class EditPreferences extends PreferenceActivity
|
---|
30 | {
|
---|
31 | @Override
|
---|
32 | protected void onCreate(Bundle savedInstanceState)
|
---|
33 | {
|
---|
34 | System.err.println("*** EditPreferences::onCreate()");
|
---|
35 | super.onCreate(savedInstanceState);
|
---|
36 | addPreferencesFromResource(R.xml.preferences);
|
---|
37 | }
|
---|
38 |
|
---|
39 | @Override
|
---|
40 | protected void onResume()
|
---|
41 | {
|
---|
42 | System.err.println("*** EditPreferences::onResume()");
|
---|
43 | super.onResume();
|
---|
44 | }
|
---|
45 |
|
---|
46 | @Override
|
---|
47 | protected void onStop()
|
---|
48 | {
|
---|
49 | System.err.println("*** EditPreferences::onStop()");
|
---|
50 | super.onResume();
|
---|
51 | }
|
---|
52 | } |
---|