Rev 12 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 20 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | */
|
3 | */
|
4 | 4 | ||
5 | package de.pointedears.converter; |
5 | package de.pointedears.converter; |
6 | 6 | ||
7 | import android.app.Application; |
7 | import android.app.Application; |
- | 8 | import android.content.Intent; |
|
- | 9 | import de.pointedears.converter.helpers.UpdateService; |
|
8 | 10 | ||
9 | /**
|
11 | /**
|
10 | * Converter application class. Holds the intent category for building
|
12 | * Converter application class. Holds the intent category for building
|
11 | * the list menu. Might later initialize prefs.
|
13 | * the list menu. Might later initialize prefs.
|
12 | *
|
14 | *
|
Line 26... | Line 28... | ||
26 | * @see android.app.Application#onCreate()
|
28 | * @see android.app.Application#onCreate()
|
27 | */
|
29 | */
|
28 | @Override |
30 | @Override |
29 | public void onCreate() |
31 | public void onCreate() |
30 | {
|
32 | {
|
- | 33 | this.startService(new Intent(this, UpdateService.class)); |
|
- | 34 | ||
31 | /*
|
35 | /*
|
32 | * This populates the default values from the preferences XML file. See
|
36 | * This populates the default values from the preferences XML file. See
|
33 | * {@link DefaultValues} for more details.
|
37 | * {@link DefaultValues} for more details.
|
34 | */
|
38 | */
|
35 | // PreferenceManager.setDefaultValues(this, R.xml.default_values, false);
|
39 | // PreferenceManager.setDefaultValues(this, R.xml.default_values, false);
|