From 08f3ae85b14a11c3010a94b584fcb6eef9350943 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 2 Feb 2012 10:40:47 +0000 Subject: More changes, not sure what. --- src/net/cbaines/suma/DataHandler.java | 2 +- src/net/cbaines/suma/SouthamptonUniversityMapActivity.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/net') 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) 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 Date: Thu, 2 Feb 2012 13:47:55 +0000 Subject: Beginings of management of non Uni-Link data. --- gen/net/cbaines/suma/R.java | Bin 10843 -> 11479 bytes res/values/strings.xml | 21 +++++++++++++++------ res/xml/preferences.xml | 22 ++++++++++++++++++---- src/net/cbaines/suma/PreferencesActivity.java | 6 ------ 4 files changed, 33 insertions(+), 16 deletions(-) (limited to 'src/net') diff --git a/gen/net/cbaines/suma/R.java b/gen/net/cbaines/suma/R.java index 8b15d5f..2945b23 100644 Binary files a/gen/net/cbaines/suma/R.java and b/gen/net/cbaines/suma/R.java differ diff --git a/res/values/strings.xml b/res/values/strings.xml index 842e597..69d6861 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -77,10 +77,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.< GPS GPS Enabled GPS Disabled - Bus Times - Live Bus Times - Live Bus Times Enabled - Live Bus Times Disabled + Live Bus Times + Uni-Link + Uni-Link Enabled + Uni-Link Disabled + Non Uni-Link + Non Uni-Link Enabled + Non Uni-Link Disabled + Data + Non Uni-Link Bus Stops + Non Uni-Link Bus Stops Enabled + Non Uni-Link Bus Stops Disabled + + Expand the items below to learn more about each feature of the application. Favourite Loading bitcoin client @@ -88,8 +97,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.< Previous Next Refresh - - + + About Version 0.2.2 (alpha) diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 8aec00c..e0609f6 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -12,12 +12,26 @@ + android:title="@string/preferences_catagory_live_bus_times" > + android:summaryOff="@string/preferences_uni_link_live_bus_times_disabled" + android:summaryOn="@string/preferences_uni_link_live_bus_times_enabled" + android:title="@string/preferences_uni_link_live_bus_times" /> + + + + \ No newline at end of file diff --git a/src/net/cbaines/suma/PreferencesActivity.java b/src/net/cbaines/suma/PreferencesActivity.java index b7c1d89..d5df6a1 100644 --- a/src/net/cbaines/suma/PreferencesActivity.java +++ b/src/net/cbaines/suma/PreferencesActivity.java @@ -23,12 +23,6 @@ import android.os.Bundle; import android.preference.PreferenceActivity; public class PreferencesActivity extends PreferenceActivity { - boolean CheckboxPreference; - String ListPreference; - String editTextPreference; - String ringtonePreference; - String secondEditTextPreference; - String customPref; @Override protected void onCreate(Bundle savedInstanceState) { -- cgit v1.2.3