diff --git a/Android/build.gradle b/Android/build.gradle index b9a1cbf607..2c366965b0 100644 --- a/Android/build.gradle +++ b/Android/build.gradle @@ -1,18 +1,18 @@ apply plugin: 'com.android.application' dependencies { - compile 'com.google.android.gms:play-services-maps:7.0.0' - compile 'com.google.android.gms:play-services-location:7.0.0' - compile 'com.google.android.gms:play-services-analytics:7.0.0' + compile 'com.google.android.gms:play-services-maps:7.3.0' + compile 'com.google.android.gms:play-services-location:7.3.0' + compile 'com.google.android.gms:play-services-analytics:7.3.0' compile 'com.sothree.slidinguppanel:library:2.0.2' - compile 'com.android.support:support-v4:22.1.0' - compile 'com.android.support:appcompat-v7:22.1.0' + compile 'com.android.support:support-v4:22.1.1' + compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:cardview-v7:22.1.0' compile 'com.android.support:recyclerview-v7:22.1.0' - compile 'com.o3dr.android:dronekit-android:2.3.11' + compile 'com.o3dr.android:dronekit-android:2.3.25' compile 'me.grantland:autofittextview:0.2.1' compile(name:'shimmer-android-release', ext:'aar') @@ -22,6 +22,9 @@ dependencies { compile files('libs/protobuf-java-2.5.0.jar') compile files('libs/jeromq-0.3.4.jar') compile files('libs/sius-0.3.2-SNAPSHOT.jar') + + compile 'com.squareup.okhttp:okhttp:2.3.0' + compile 'com.squareup.okhttp:okhttp-urlconnection:2.3.0' } android { diff --git a/Android/res/values/preferences_keys.xml b/Android/res/values/preferences_keys.xml index d8854014a9..bfa3b4e3d4 100644 --- a/Android/res/values/preferences_keys.xml +++ b/Android/res/values/preferences_keys.xml @@ -64,4 +64,8 @@ This file is used to store the preferences keys so that it's accessible and modi pref_udp_ping_receiver_ip pref_udp_ping_receiver_port + pref_alt_max_value + pref_alt_min_value + pref_alt_default_value + diff --git a/Android/res/values/strings.xml b/Android/res/values/strings.xml index 608cc4ff3c..b27a357ee0 100644 --- a/Android/res/values/strings.xml +++ b/Android/res/values/strings.xml @@ -549,5 +549,12 @@ Enable to allow the app to periodically ping the udp server. UDP ping receiver ip UDP ping receiver port + Unable to get accurate location. Please update your location settings! + + + Altitude Preferences + Max altitude value + Min altitude value + Default altitude value diff --git a/Android/res/xml/preferences.xml b/Android/res/xml/preferences.xml index 3b1284e201..64fa776c05 100644 --- a/Android/res/xml/preferences.xml +++ b/Android/res/xml/preferences.xml @@ -282,6 +282,33 @@ android:title="@string/pref_ui_gps_hdop_title" /> + + + + + + + + + +