diff --git a/phoneClients/android/.idea/workspace.xml b/phoneClients/android/.idea/workspace.xml index 53e0424..462194b 100644 --- a/phoneClients/android/.idea/workspace.xml +++ b/phoneClients/android/.idea/workspace.xml @@ -41,9 +41,7 @@ - - @@ -106,15 +104,14 @@ - + - - + + - @@ -131,29 +128,14 @@ - - - - - - - - - - - - - - - - + - - + + - - + + @@ -948,9 +930,9 @@ @@ -1421,7 +1403,7 @@ - + @@ -1496,7 +1478,6 @@ - @@ -1570,7 +1551,6 @@ - @@ -1601,7 +1581,6 @@ - @@ -1632,7 +1611,6 @@ - @@ -1663,7 +1641,6 @@ - @@ -1835,30 +1812,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -1867,14 +1820,26 @@ + + + + + + + + + + + + + - - + + - @@ -1890,6 +1855,17 @@ + + + + + + + + + + + diff --git a/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/LocationService.java b/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/LocationService.java index b44650d..12a85d2 100644 --- a/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/LocationService.java +++ b/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/LocationService.java @@ -164,7 +164,7 @@ // onDestroy will be called and stop our location uodates if (location.getAccuracy() < 100.0f) { SharedPreferences sharedPreferences = this.getSharedPreferences("com.websmithing.gpstracker.prefs", Context.MODE_PRIVATE); - String sessionID = sharedPreferences.getString("userName", ""); + String sessionID = sharedPreferences.getString("sessionID", ""); if (sessionID.trim().length() != 0) { sendLocationDataToWebsite(location);