Rev 6 | Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 6 | Rev 8 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | package ch.ffhs.converter; |
1 | package de.pointedears.converter; |
| 2 | 2 | ||
| 3 | /*
|
3 | /*
|
| 4 | * Copyright (C) 2007 The Android Open Source Project
|
4 | * Copyright (C) 2007 The Android Open Source Project
|
| 5 | *
|
5 | *
|
| 6 | * Licensed under the Apache License, Version 2.0 (the "License");
|
6 | * Licensed under the Apache License, Version 2.0 (the "License");
|
| Line 40... | Line 40... | ||
| 40 | public void onCreate(Bundle savedInstanceState) |
40 | public void onCreate(Bundle savedInstanceState) |
| 41 | {
|
41 | {
|
| 42 | super.onCreate(savedInstanceState); |
42 | super.onCreate(savedInstanceState); |
| 43 | 43 | ||
| 44 | Intent intent = this.getIntent(); |
44 | Intent intent = this.getIntent(); |
| 45 | String path = intent.getStringExtra("ch.ffhs.converter.Path"); |
45 | String path = intent.getStringExtra("de.pointedears.converter.Path"); |
| 46 | 46 | ||
| 47 | if (path == null) |
47 | if (path == null) |
| 48 | {
|
48 | {
|
| 49 | path = ""; |
49 | path = ""; |
| 50 | }
|
50 | }
|
| Line 146... | Line 146... | ||
| 146 | 146 | ||
| 147 | protected Intent browseIntent(String path) |
147 | protected Intent browseIntent(String path) |
| 148 | {
|
148 | {
|
| 149 | Intent result = new Intent(); |
149 | Intent result = new Intent(); |
| 150 | result.setClass(this, MenuActivity.class); |
150 | result.setClass(this, MenuActivity.class); |
| 151 | result.putExtra("ch.ffhs.converter.Path", path); |
151 | result.putExtra("de.pointedears.converter.Path", path); |
| 152 | return result; |
152 | return result; |
| 153 | }
|
153 | }
|
| 154 | 154 | ||
| 155 | protected void addItem(List<Map> data, String name, Intent intent) |
155 | protected void addItem(List<Map> data, String name, Intent intent) |
| 156 | {
|
156 | {
|