aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-02 10:40:47 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-02 10:40:47 +0000
commit08f3ae85b14a11c3010a94b584fcb6eef9350943 (patch)
tree11cce7558d52cd601929f50d476a3a9c5eb9c0fd /src/net/cbaines/suma
parent6072de8f4a9ec4df586ede7f41e0ac97f075c385 (diff)
downloadsouthamptonuniversitymap-08f3ae85b14a11c3010a94b584fcb6eef9350943.tar
southamptonuniversitymap-08f3ae85b14a11c3010a94b584fcb6eef9350943.tar.gz
More changes, not sure what.
Diffstat (limited to 'src/net/cbaines/suma')
-rw-r--r--src/net/cbaines/suma/DataHandler.java2
-rw-r--r--src/net/cbaines/suma/SouthamptonUniversityMapActivity.java6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/net/cbaines/suma/DataHandler.java b/src/net/cbaines/suma/DataHandler.java
index f6263da..f564d19 100644
--- a/src/net/cbaines/suma/DataHandler.java
+++ b/src/net/cbaines/suma/DataHandler.java
@@ -81,7 +81,7 @@ public class DataHandler extends DefaultHandler {
@Override
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException {
if (localName.equals("trkpt")) {
- Log.v("DataHandler", "Adding point to route overlay " + atts.getValue("lat") + " " + atts.getValue("lon"));
+ // Log.v("DataHandler", "Adding point to route overlay " + atts.getValue("lat") + " " + atts.getValue("lon"));
_data.addPoint(Util.csLatLongToGeoPoint(atts.getValue("lat"), atts.getValue("lon")));
}
}
diff --git a/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java b/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java
index 927f41e..52b3e1f 100644
--- a/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java
+++ b/src/net/cbaines/suma/SouthamptonUniversityMapActivity.java
@@ -138,8 +138,10 @@ public class SouthamptonUniversityMapActivity extends OrmLiteBaseActivity<Databa
pastOverlays = (HashMap<String, Overlay>) getLastNonConfigurationInstance();
// SensorManager mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); This code in the following constructor causes problems in
- // some emulators, disable there sensors to fix.
+ // some emulators, disable sensors to fix.
+ Log.i(TAG, "Starting creating myLocationOverlay");
myLocationOverlay = new MyLocationOverlay(instance, mapView);
+ Log.i(TAG, "Finished creating myLocationOverlay");
while (databaseThread.isAlive()) {
Thread.yield();
@@ -241,7 +243,7 @@ public class SouthamptonUniversityMapActivity extends OrmLiteBaseActivity<Databa
// of your application so we are gonna be able to overwrite that database with our database.
Log.i(TAG, "GetReadableDatabase");
helper.getWritableDatabase().close();
-
+
helper.copyDataBase();
Log.i(TAG, "Out of copy database");
} catch (IOException ioe) {