aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/cbaines/suma/Bus.java3
-rw-r--r--src/net/cbaines/suma/MapActivity.java2
-rw-r--r--src/net/cbaines/suma/SearchActivity.java (renamed from src/net/cbaines/suma/FindActivity.java)2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/net/cbaines/suma/Bus.java b/src/net/cbaines/suma/Bus.java
index 34e20a6..9894e6b 100644
--- a/src/net/cbaines/suma/Bus.java
+++ b/src/net/cbaines/suma/Bus.java
@@ -35,6 +35,9 @@ public class Bus {
final static String ROUTE_FIELD_NAME = "route";
final static String DIRECTION_FIELD_NAME = "direction";
+ @DatabaseField(generatedId = true)
+ int gid;
+
/**
* The identification number of the bus.
*/
diff --git a/src/net/cbaines/suma/MapActivity.java b/src/net/cbaines/suma/MapActivity.java
index 6c4664e..e966b57 100644
--- a/src/net/cbaines/suma/MapActivity.java
+++ b/src/net/cbaines/suma/MapActivity.java
@@ -326,7 +326,7 @@ public class MapActivity extends ToastHelperActivity implements MapViewConstants
@Override
public boolean onSearchRequested() {
Bundle appData = new Bundle();
- appData.putInt(FindActivity.ORIGIN, FindActivity.MAP_ACTIVITY);
+ appData.putInt(SearchActivity.ORIGIN, SearchActivity.MAP_ACTIVITY);
startSearch(null, false, appData, false);
return true;
}
diff --git a/src/net/cbaines/suma/FindActivity.java b/src/net/cbaines/suma/SearchActivity.java
index 5a07807..f7f5e55 100644
--- a/src/net/cbaines/suma/FindActivity.java
+++ b/src/net/cbaines/suma/SearchActivity.java
@@ -53,7 +53,7 @@ import com.j256.ormlite.dao.Dao;
import com.j256.ormlite.stmt.PreparedQuery;
import com.j256.ormlite.stmt.QueryBuilder;
-public class FindActivity extends OrmLiteBaseActivity<DatabaseHelper> implements Runnable, TextWatcher,
+public class SearchActivity extends OrmLiteBaseActivity<DatabaseHelper> implements Runnable, TextWatcher,
OnItemClickListener, LocationListener, OnItemLongClickListener {
final static String TAG = "FindActivity";