diff --git a/phoneClients/android/.idea/workspace.xml b/phoneClients/android/.idea/workspace.xml index fade230..b450410 100644 --- a/phoneClients/android/.idea/workspace.xml +++ b/phoneClients/android/.idea/workspace.xml @@ -108,7 +108,7 @@ - + @@ -538,8 +538,8 @@ - @@ -876,7 +876,7 @@ - + @@ -1198,7 +1198,7 @@ - + diff --git a/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java b/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java index c64e6b4..e2a5315 100644 --- a/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java +++ b/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java @@ -138,7 +138,7 @@ requestParams.put("distance", 0); // in miles } - requestParams.put("phonenumber", "momo25"); + requestParams.put("phonenumber", "androidUser"); requestParams.put("sessionid", sessionID); // uuid requestParams.put("accuracy", Float.toString(location.getAccuracy())); // in meters requestParams.put("locationisvalid", "yes"); diff --git a/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsHelper.java b/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsHelper.java index e10bd3a..3c3cd76 100644 --- a/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsHelper.java +++ b/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsHelper.java @@ -148,7 +148,7 @@ + "&date=" + mySqlDateTimeString + "&locationmethod=" + location.getLocationMethod() + "&distance=" + String.valueOf((int)(distance/1609)) // in miles - + "&phonenumber=" + midlet.phoneNumber + + "&phonenumber=javaMeUser" + "&sessionid=" + String.valueOf(sessionID) // System.currentTimeMillis(); + "&accuracy=" + String.valueOf((int)(qualifiedCoordinates.getHorizontalAccuracy())) // in meters + "&locationisvalid=yes" diff --git a/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs b/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs index 8d07df6..569c9f6 100644 --- a/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs +++ b/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs @@ -86,7 +86,7 @@ new KeyValuePair("date", DateTime.Now.ToString(@"yyyy-MM-dd\%20HH:mm:ss")), // formatted for mysql datetime format), new KeyValuePair("locationmethod", locationMethod), new KeyValuePair("distance", (totalDistanceInMeters / 1609).ToString("0.0")), // in miles - new KeyValuePair("phonenumber", "momo1"), //Windows.Phone.System.Analytics.HostInformation.PublisherHostId), + new KeyValuePair("phonenumber", "windowsPhoneUser"), //Windows.Phone.System.Analytics.HostInformation.PublisherHostId), new KeyValuePair("sessionid", sessionID), // guid new KeyValuePair("accuracy", accuracy), // in meters new KeyValuePair("locationisvalid", "yes"),