Rev 8 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5 | PointedEar | 1 | /* |
12 | PointedEar | 2 | * Copyright (C) 2010 Thomas Lahn |
5 | PointedEar | 3 | */ |
4 | |||
8 | PointedEar | 5 | package de.pointedears.converter; |
5 | PointedEar | 6 | |
7 | import android.app.Application; |
||
8 | |||
9 | /** |
||
12 | PointedEar | 10 | * Converter application class. Holds the intent category for building |
11 | * the list menu. Might later initialize prefs. |
||
5 | PointedEar | 12 | * |
12 | PointedEar | 13 | * @author Thomas 'PointedEars' Lahn |
5 | PointedEar | 14 | */ |
15 | public class ConverterApplication extends Application |
||
16 | { |
||
6 | PointedEar | 17 | /** |
18 | * Activity category for automatically filtering converter Activities |
||
19 | */ |
||
20 | public final static String CATEGORY_CONVERTER = |
||
12 | PointedEar | 21 | "android.intent.category.CONVERTER"; //$NON-NLS-1$ |
5 | PointedEar | 22 | |
12 | PointedEar | 23 | /* |
24 | * (non-Javadoc) |
||
25 | * |
||
26 | * @see android.app.Application#onCreate() |
||
27 | */ |
||
5 | PointedEar | 28 | @Override |
29 | public void onCreate() |
||
30 | { |
||
31 | /* |
||
32 | * This populates the default values from the preferences XML file. See |
||
33 | * {@link DefaultValues} for more details. |
||
34 | */ |
||
6 | PointedEar | 35 | // PreferenceManager.setDefaultValues(this, R.xml.default_values, false); |
5 | PointedEar | 36 | } |
37 | |||
12 | PointedEar | 38 | /* |
39 | * (non-Javadoc) |
||
40 | * |
||
41 | * @see android.app.Application#onTerminate() |
||
42 | */ |
||
5 | PointedEar | 43 | @Override |
44 | public void onTerminate() |
||
45 | { |
||
46 | } |
||
47 | } |