Rev 17 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 17 | Rev 20 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | import android.content.pm.ResolveInfo; |
30 | import android.content.pm.ResolveInfo; |
| 31 | import android.os.Bundle; |
31 | import android.os.Bundle; |
| 32 | import android.view.View; |
32 | import android.view.View; |
| 33 | import android.widget.ListView; |
33 | import android.widget.ListView; |
| 34 | import android.widget.SimpleAdapter; |
34 | import android.widget.SimpleAdapter; |
| 35 | import de.pointedears.converter.helpers.UpdateService; |
- | |
| 36 | 35 | ||
| 37 | /**
|
36 | /**
|
| 38 | * Generates the main menu as a list of activities from the manifest
|
37 | * Generates the main menu as a list of activities from the manifest
|
| 39 | *
|
38 | *
|
| 40 | * @author
|
39 | * @author
|
| Line 47... | Line 46... | ||
| 47 | @Override |
46 | @Override |
| 48 | public void onCreate(Bundle savedInstanceState) |
47 | public void onCreate(Bundle savedInstanceState) |
| 49 | {
|
48 | {
|
| 50 | super.onCreate(savedInstanceState); |
49 | super.onCreate(savedInstanceState); |
| 51 | 50 | ||
| 52 | this.startService(new Intent(this, UpdateService.class)); |
- | |
| 53 | - | ||
| 54 | Intent intent = this.getIntent(); |
51 | Intent intent = this.getIntent(); |
| 55 | String path = intent.getStringExtra("de.pointedears.converter.Path"); //$NON-NLS-1$ |
52 | String path = intent.getStringExtra("de.pointedears.converter.Path"); //$NON-NLS-1$ |
| 56 | 53 | ||
| 57 | if (path == null) |
54 | if (path == null) |
| 58 | {
|
55 | {
|