diff --git a/phoneClients/android/.idea/copyright/profiles_settings.xml b/phoneClients/android/.idea/copyright/profiles_settings.xml
index 3572571..e7bedf3 100644
--- a/phoneClients/android/.idea/copyright/profiles_settings.xml
+++ b/phoneClients/android/.idea/copyright/profiles_settings.xml
@@ -1,5 +1,3 @@
-
-
-
+
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/ComAndroidSupportAppcompatV71901_aar.xml b/phoneClients/android/.idea/libraries/ComAndroidSupportAppcompatV71901_aar.xml
deleted file mode 100644
index be301f2..0000000
--- a/phoneClients/android/.idea/libraries/ComAndroidSupportAppcompatV71901_aar.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/ComGoogleAndroidGmsPlayServices4030_aar.xml b/phoneClients/android/.idea/libraries/ComGoogleAndroidGmsPlayServices4030_aar.xml
deleted file mode 100644
index 0997482..0000000
--- a/phoneClients/android/.idea/libraries/ComGoogleAndroidGmsPlayServices4030_aar.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/Gradle__ComAndroidSupportAppcompatV71901_aar.xml b/phoneClients/android/.idea/libraries/Gradle__ComAndroidSupportAppcompatV71901_aar.xml
deleted file mode 100644
index 93493c7..0000000
--- a/phoneClients/android/.idea/libraries/Gradle__ComAndroidSupportAppcompatV71901_aar.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/Gradle__ComGoogleAndroidGmsPlayServices4030_aar.xml b/phoneClients/android/.idea/libraries/Gradle__ComGoogleAndroidGmsPlayServices4030_aar.xml
deleted file mode 100644
index 80493dd..0000000
--- a/phoneClients/android/.idea/libraries/Gradle__ComGoogleAndroidGmsPlayServices4030_aar.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/Gradle__android_async_http_1_4_4.xml b/phoneClients/android/.idea/libraries/Gradle__android_async_http_1_4_4.xml
deleted file mode 100644
index 91ea9f8..0000000
--- a/phoneClients/android/.idea/libraries/Gradle__android_async_http_1_4_4.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/Gradle__support_v4_19_0_1.xml b/phoneClients/android/.idea/libraries/Gradle__support_v4_19_0_1.xml
deleted file mode 100644
index 185a30f..0000000
--- a/phoneClients/android/.idea/libraries/Gradle__support_v4_19_0_1.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/android_async_http_1_4_4.xml b/phoneClients/android/.idea/libraries/android_async_http_1_4_4.xml
index 57498e3..a44fe84 100644
--- a/phoneClients/android/.idea/libraries/android_async_http_1_4_4.xml
+++ b/phoneClients/android/.idea/libraries/android_async_http_1_4_4.xml
@@ -4,6 +4,8 @@
-
+
+
+
\ No newline at end of file
diff --git a/phoneClients/android/.idea/libraries/appcompat_v7_19_0_1.xml b/phoneClients/android/.idea/libraries/appcompat_v7_19_0_1.xml
index 762f843..2503e43 100644
--- a/phoneClients/android/.idea/libraries/appcompat_v7_19_0_1.xml
+++ b/phoneClients/android/.idea/libraries/appcompat_v7_19_0_1.xml
@@ -1,8 +1,8 @@
-
-
+
+
diff --git a/phoneClients/android/.idea/libraries/play_services_4_0_30.xml b/phoneClients/android/.idea/libraries/play_services_4_0_30.xml
index d50c09d..3401ed3 100644
--- a/phoneClients/android/.idea/libraries/play_services_4_0_30.xml
+++ b/phoneClients/android/.idea/libraries/play_services_4_0_30.xml
@@ -1,8 +1,8 @@
-
-
+
+
diff --git a/phoneClients/android/.idea/libraries/support_v4_19_0_1.xml b/phoneClients/android/.idea/libraries/support_v4_19_0_1.xml
index b335e5e..617c323 100644
--- a/phoneClients/android/.idea/libraries/support_v4_19_0_1.xml
+++ b/phoneClients/android/.idea/libraries/support_v4_19_0_1.xml
@@ -4,6 +4,8 @@
-
+
+
+
\ No newline at end of file
diff --git a/phoneClients/android/.idea/workspace.xml b/phoneClients/android/.idea/workspace.xml
index d33bbe2..adcc5b1 100644
--- a/phoneClients/android/.idea/workspace.xml
+++ b/phoneClients/android/.idea/workspace.xml
@@ -40,15 +40,21 @@
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -113,70 +119,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -272,6 +215,14 @@
+
+
+
+
+
+
+
+
@@ -329,16 +280,16 @@
+
+
+
+
+
-
-
-
-
-
@@ -361,6 +312,14 @@
+
+
+
+
+
+
+
+
@@ -369,6 +328,14 @@
+
+
+
+
+
+
+
+
@@ -377,6 +344,14 @@
+
+
+
+
+
+
+
+
@@ -405,6 +380,11 @@
+
+
+
+
+
@@ -560,6 +540,11 @@
+
-
+
@@ -774,8 +792,8 @@
-
+
@@ -791,7 +809,7 @@
-
+
@@ -801,11 +819,11 @@
-
+
-
+
@@ -815,19 +833,19 @@
-
+
-
+
-
+
-
+
@@ -837,23 +855,23 @@
-
+
-
+
-
+
-
+
-
+
@@ -863,27 +881,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -893,27 +911,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -923,27 +941,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -971,6 +989,15 @@
+
+
+
+
+
+
+
+
+
@@ -989,6 +1016,7 @@
+
@@ -1090,6 +1118,7 @@
+
@@ -1109,6 +1138,7 @@
+
@@ -1125,22 +1155,8 @@
-
-
-
-
-
-
-
-
-
-
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oneClients/android/GpsTracker/GpsTracker.iml
+++ b/phoneClients/android/GpsTracker/GpsTracker.iml
@@ -35,27 +35,27 @@
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/phoneClients/android/GpsTracker/build.gradle b/phoneClients/android/GpsTracker/build.gradle
index 06a694c..0ee8e8a 100644
--- a/phoneClients/android/GpsTracker/build.gradle
+++ b/phoneClients/android/GpsTracker/build.gradle
@@ -3,7 +3,7 @@
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:0.7.+'
+ classpath 'com.android.tools.build:gradle:0.9.+'
}
}
apply plugin: 'android'
diff --git a/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/MyHttpClient.java b/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/MyHttpClient.java
index c58cb87..57747a4 100644
--- a/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/MyHttpClient.java
+++ b/phoneClients/android/GpsTracker/src/main/java/com/websmithing/gpstracker/MyHttpClient.java
@@ -7,9 +7,9 @@
public class MyHttpClient {
// use the websmithing defaultUploadWebsite for testing, change the *phoneNumber* form variable to something you
- // know and then check your location with your browser here: http://www.websmithing.com/gpstracker/displaymap.php
+ // know and then check your location with your browser here: https://www.websmithing.com/gpstracker/displaymap.php
- private static final String defaultUploadWebsite = "http://www.websmithing.com/gpstracker/updatelocation.php";
+ private static final String defaultUploadWebsite = "https://www.websmithing.com/gpstracker/updatelocation.php";
private static AsyncHttpClient client = new AsyncHttpClient();
public static void post(String url, RequestParams requestParams, AsyncHttpResponseHandler responseHandler) {
diff --git a/phoneClients/android/README.md b/phoneClients/android/README.md
index 1f6d856..0301667 100644
--- a/phoneClients/android/README.md
+++ b/phoneClients/android/README.md
@@ -2,10 +2,10 @@
use the websmithing defaultUploadWebsite:
-http://www.websmithing.com/gpstracker/updatelocation.php
+https://www.websmithing.com/gpstracker/updatelocation.php
for testing
change the *phoneNumber* form variable to something you know and then check your location with your browser here:
-http://www.websmithing.com/gpstracker/displaymap.php
+https://www.websmithing.com/gpstracker/displaymap.php
diff --git a/phoneClients/android/gradle/wrapper/gradle-wrapper.properties b/phoneClients/android/gradle/wrapper/gradle-wrapper.properties
index 57823a0..de768a1 100644
--- a/phoneClients/android/gradle/wrapper/gradle-wrapper.properties
+++ b/phoneClients/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Thu Dec 19 03:11:50 PST 2013
+#Tue Mar 11 04:39:36 PDT 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=http\://services.gradle.org/distributions/gradle-1.9-all.zip
+distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
diff --git a/phoneClients/ios/GpsTracker/WSViewController.m b/phoneClients/ios/GpsTracker/WSViewController.m
index 2612dfe..100b7b3 100644
--- a/phoneClients/ios/GpsTracker/WSViewController.m
+++ b/phoneClients/ios/GpsTracker/WSViewController.m
@@ -179,9 +179,9 @@
- (void)updateWebsiteWithLatitde:(NSString *)latitude longitude:(NSString *)longitude speed:(NSString *)speed date:(NSString *)date distance:(NSString *)distance sessionID:(NSString *)sessionID accuracy:(NSString *)accuracy extraInfo:(NSString *)extraInfo direction:(NSString *)direction
{
// use the websmithing defaultUploadWebsite for testing, change the *phoneNumber* form variable to something you
- // know and then check your location with your browser here: http://www.websmithing.com/gpstracker/displaymap.php
+ // know and then check your location with your browser here: https://www.websmithing.com/gpstracker/displaymap.php
- NSString *defaultUploadWebsite = @"http://www.websmithing.com/gpstracker/updatelocation.php";
+ NSString *defaultUploadWebsite = @"https://www.websmithing.com/gpstracker/updatelocation.php";
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
manager.responseSerializer = [AFHTTPResponseSerializer serializer];
diff --git a/phoneClients/ios/README.md b/phoneClients/ios/README.md
index c5b981f..8cab686 100644
--- a/phoneClients/ios/README.md
+++ b/phoneClients/ios/README.md
@@ -2,10 +2,10 @@
use the websmithing defaultUploadWebsite:
-http://www.websmithing.com/gpstracker/updatelocation.php
+https://www.websmithing.com/gpstracker/updatelocation.php
for testing
change the *phoneNumber* form variable to something you know and then check your location with your browser here:
-http://www.websmithing.com/gpstracker/displaymap.php
+https://www.websmithing.com/gpstracker/displaymap.php
diff --git a/phoneClients/javaMe/README.md b/phoneClients/javaMe/README.md
index 3330ab3..30cfdbb 100644
--- a/phoneClients/javaMe/README.md
+++ b/phoneClients/javaMe/README.md
@@ -2,10 +2,10 @@
use the websmithing defaultUploadWebsite:
-http://www.websmithing.com/gpstracker/updatelocation.php
+https://www.websmithing.com/gpstracker/updatelocation.php
for testing
change the *phoneNumber* form variable to something you know and then check your location with your browser here:
-http://www.websmithing.com/gpstracker/displaymap.php
+https://www.websmithing.com/gpstracker/displaymap.php
diff --git a/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsHelper.java b/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsHelper.java
index e10bd3a..681947d 100644
--- a/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsHelper.java
+++ b/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsHelper.java
@@ -136,11 +136,6 @@
speed = location.getSpeed();
}
- /* example url
- http://www.websmithing.com/gpstracker2/getgooglemap3.php?lat=47.473349&lng=-122.025035&mph=137&dir=0&mi=0&
- dt=2008-04-17%2012:07:02&lm=0&h=291&w=240&zm=12&dis=25&pn=momosity&sid=11137&acc=95&iv=yes&info=momostuff
- */
-
String gpsData = "latitude=" + String.valueOf(qualifiedCoordinates.getLatitude())
+ "&longitude=" + String.valueOf(qualifiedCoordinates.getLongitude())
+ "&speed=" + String.valueOf((int)(speed/1609*3600)) // in miles per hour
diff --git a/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsTracker.java b/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsTracker.java
index a40f1c2..a07440f 100644
--- a/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsTracker.java
+++ b/phoneClients/javaMe/build/JavaMEPhone1/preprocessed/com/websmithing/gpstracker/GpsTracker.java
@@ -31,7 +31,7 @@
private GpsHelper gps;
private String uploadWebsite;
- private String defaultUploadWebsite = "http://www.websmithing.com/gpstracker2/getgooglemap3.php";
+ private String defaultUploadWebsite = "https://www.websmithing.com/gpstracker/updatelocation.php";
protected String phoneNumber;
protected String zoomLevel;
diff --git a/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsHelper.java b/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsHelper.java
index c8e8be8..7c997a6 100644
--- a/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsHelper.java
+++ b/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsHelper.java
@@ -130,11 +130,6 @@
speed = location.getSpeed();
}
- /* example url
- http://www.websmithing.com/gpstracker2/getgooglemap3.php?lat=47.473349&lng=-122.025035&mph=137&dir=0&mi=0&
- dt=2008-04-17%2012:07:02&lm=0&h=291&w=240&zm=12&dis=25&pn=momosity&sid=11137&acc=95&iv=yes&info=momostuff
- */
-
String gpsData = "lat=" + String.valueOf(qualifiedCoordinates.getLatitude())
+ "&lng=" + String.valueOf(qualifiedCoordinates.getLongitude())
+ "&mph=" + String.valueOf((int)(speed/1609*3600)) // in miles per hour
diff --git a/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsTracker.java b/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsTracker.java
index a40f1c2..a07440f 100644
--- a/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsTracker.java
+++ b/phoneClients/javaMe/build/preprocessed/com/websmithing/gpstracker/GpsTracker.java
@@ -31,7 +31,7 @@
private GpsHelper gps;
private String uploadWebsite;
- private String defaultUploadWebsite = "http://www.websmithing.com/gpstracker2/getgooglemap3.php";
+ private String defaultUploadWebsite = "https://www.websmithing.com/gpstracker/updatelocation.php";
protected String phoneNumber;
protected String zoomLevel;
diff --git a/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsTracker.java b/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsTracker.java
index db1c18f..fd9a12c 100644
--- a/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsTracker.java
+++ b/phoneClients/javaMe/src/com/websmithing/gpstracker/GpsTracker.java
@@ -33,9 +33,9 @@
private String uploadWebsite;
// use the websmithing defaultUploadWebsite for testing, change the *phoneNumber* form variable to something you
- // know and then check your location with your browser here: http://www.websmithing.com/gpstracker/displaymap.php
+ // know and then check your location with your browser here: https://www.websmithing.com/gpstracker/displaymap.php
- private String defaultUploadWebsite = "http://www.websmithing.com/gpstracker/updatelocation.php";
+ private String defaultUploadWebsite = "https://www.websmithing.com/gpstracker/updatelocation.php";
protected String phoneNumber;
protected String zoomLevel;
diff --git a/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs b/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs
index 8471c29..46166b2 100644
--- a/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs
+++ b/phoneClients/windowsPhone/GPSTracker/MainPage.xaml.cs
@@ -72,9 +72,9 @@
httpCount++;
// use the websmithing defaultUploadWebsite for testing, change the *phoneNumber* form variable to something you
- // know and then check your location with your browser here: http://www.websmithing.com/gpstracker/displaymap.php
+ // know and then check your location with your browser here: https://www.websmithing.com/gpstracker/displaymap.php
- string defaultUploadWebsite = "http://www.websmithing.com/gpstracker/updatelocation.php";
+ string defaultUploadWebsite = "https://www.websmithing.com/gpstracker/updatelocation.php";
HttpContent httpContent = new FormUrlEncodedContent(new[]
{
new KeyValuePair("latitude", latitude),
diff --git a/phoneClients/windowsPhone/README.md b/phoneClients/windowsPhone/README.md
index 2bc988d..d4633b5 100644
--- a/phoneClients/windowsPhone/README.md
+++ b/phoneClients/windowsPhone/README.md
@@ -2,10 +2,10 @@
use the websmithing defaultUploadWebsite:
-http://www.websmithing.com/gpstracker/updatelocation.php
+https://www.websmithing.com/gpstracker/updatelocation.php
for testing
change the *phoneNumber* form variable to something you know and then check your location with your browser here:
-http://www.websmithing.com/gpstracker/displaymap.php
\ No newline at end of file
+https://www.websmithing.com/gpstracker/displaymap.php
\ No newline at end of file