Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.2.0 beta 4 #1615

Merged
merged 65 commits into from
Sep 27, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
7809cf0
add do_jump command to mission
TShapinsky Jul 31, 2015
9f3af20
version bump for beta 4
m4gr3d Sep 1, 2015
67d011d
reset highest variance for the mini ekf status widget.
m4gr3d Sep 1, 2015
0b07ca0
upgraded dronekit-android client library version.
m4gr3d Sep 8, 2015
5134f93
Merge branches 'do_jump_command' and 'release-3.2.0.beta.4' of github…
m4gr3d Sep 14, 2015
f603e73
bug fixes.
m4gr3d Sep 14, 2015
a7b83ef
Updated the layout for the 'do jump' mission item.
m4gr3d Sep 14, 2015
8db4214
code cleanup.
m4gr3d Sep 14, 2015
55d2e69
layout bug fix.
m4gr3d Sep 14, 2015
e898a65
dronekit-android client library upgrade.
m4gr3d Sep 14, 2015
937465f
Merge pull request #1593 from DroidPlanner/do_jump_command
m4gr3d Sep 14, 2015
675e7a8
Updated min / max distance for the mission items' radius
m4gr3d Sep 14, 2015
bc76be6
Merge pull request #1594 from DroidPlanner/increase_max_radius
m4gr3d Sep 14, 2015
42bca94
Improved takeoff mission item support for planes.
m4gr3d Sep 14, 2015
f8863ba
changed the gps accuracy level to high accuracy.
m4gr3d Sep 14, 2015
1aa1098
Fixed fast repetition of max altitude exceeded warnings.
m4gr3d Sep 14, 2015
5183fd3
Merge pull request #1595 from DroidPlanner/feature_takeoff_for_planes
m4gr3d Sep 14, 2015
7d7271a
Merge pull request #1596 from DroidPlanner/fix_fast_altitude_warnings
m4gr3d Sep 14, 2015
efd3d2c
Settings: Fix Layout for clarity in setting USB,UDP,TCP settings
billbonney Sep 15, 2015
f3ef2a6
Merge pull request #1598 from billbonney/advanced-settings-fix
m4gr3d Sep 15, 2015
759076f
Enabled solo video widget by default.
m4gr3d Sep 15, 2015
ac77972
integration of the full vibration widget.
m4gr3d Sep 15, 2015
53c1bc1
Updated the mini diagnostic widget.
m4gr3d Sep 15, 2015
90ec68d
code cleanup
m4gr3d Sep 17, 2015
831197d
Added accelerometer clipping values
m4gr3d Sep 17, 2015
afbdbc3
adding missing drawable resources.
m4gr3d Sep 17, 2015
e39e7d2
allowed app install on the sd card.
m4gr3d Sep 17, 2015
5178763
Merge pull request #1600 from DroidPlanner/feature_vibration_view
m4gr3d Sep 17, 2015
1117212
Fixed persistent notification.
m4gr3d Sep 17, 2015
251ad7c
Merge pull request #1601 from DroidPlanner/fix_persistant_notification
m4gr3d Sep 18, 2015
838ebf9
Add Latitude and Longitude to telemetry widget
guiseco Sep 20, 2015
747f855
Merge pull request #1607 from guiseco/release-3.2.0.beta.4_latlong
m4gr3d Sep 21, 2015
c5c1fe7
Added flight timer to the telemetry info widget.
m4gr3d Sep 21, 2015
7fd8686
adding omitted flight timer drawable resources.
m4gr3d Sep 21, 2015
9dc7e1a
Merge branches 'feature_return_to_me' and 'release-3.2.0.beta.4' of g…
m4gr3d Sep 21, 2015
a941903
moved the geo info into their own widget.
m4gr3d Sep 21, 2015
ace2151
label and description update.
m4gr3d Sep 21, 2015
6bdaa42
updated gopro take photo /record video icons based on the gopro state.
m4gr3d Sep 21, 2015
eb308a9
moved the action drawer on sliding drawer update to avoid occlusion.
m4gr3d Sep 21, 2015
117efe9
disabled permanent notification by default.
m4gr3d Sep 23, 2015
8e3d610
Added preference to trigger 'return to me'.
m4gr3d Sep 25, 2015
d36cf05
added logic to start/stop the return to me functionality.
m4gr3d Sep 25, 2015
bfc244d
Added app service to manage the notification handler.
m4gr3d Sep 25, 2015
2b05736
Fixed issue with moving home location on map.
m4gr3d Sep 25, 2015
93bf836
preferences cleanup
m4gr3d Sep 25, 2015
41fabdd
adding omitted drawable resources.
m4gr3d Sep 25, 2015
9516be2
completed return to me ux.
m4gr3d Sep 26, 2015
2c530e9
adding return to me drawable resources.
m4gr3d Sep 26, 2015
8f11a38
Added warning when the vehicle home is updated in flight.
m4gr3d Sep 26, 2015
61b35de
allowed access to cellular network while connected to solo's wifi.
m4gr3d Sep 26, 2015
98f8ca0
Merge pull request #1611 from DroidPlanner/feature_return_to_me
m4gr3d Sep 26, 2015
01c721a
Added support for logcat writes to file.
m4gr3d Sep 26, 2015
732d110
added missing manifest permission.
m4gr3d Sep 26, 2015
106fc2d
preferences cleanup.
m4gr3d Sep 26, 2015
9a70304
updated battery telemetry icon.
m4gr3d Sep 26, 2015
93cef31
Merge pull request #1612 from DroidPlanner/feature_allow_cellular_net…
m4gr3d Sep 26, 2015
13a84bf
upgraded to the latest version of the android compatibility library.
m4gr3d Sep 26, 2015
6adc309
navigation drawer cleanup.
m4gr3d Sep 26, 2015
ce6d0fe
updated travis configuration file to support android v23
m4gr3d Sep 26, 2015
9cce13e
Merge pull request #1613 from DroidPlanner/release_cleanup
m4gr3d Sep 26, 2015
1f30a03
added gimbal marker.
m4gr3d Sep 27, 2015
6e38125
Fixed invalid camera record state.
m4gr3d Sep 27, 2015
d36b06f
restricted the use of crashlytics to release builds.
m4gr3d Sep 27, 2015
3ebbcad
crashlytics bug fixes
m4gr3d Sep 27, 2015
10dc788
guided altitude display bug fix.
m4gr3d Sep 27, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android:
before_script:
- echo yes | android update sdk -u -a -t tools
- echo yes | android update sdk -u -a -t build-tools-22.0.1
- echo yes | android update sdk -u -a -t android-22,android-21,android-20
- echo yes | android update sdk -u -a -t android-23,android-22,android-21,android-20
- echo yes | android update sdk -u -a -t extra-google-m2repository
- echo yes | android update sdk -u -a -t extra-android-m2repository
- echo yes | android update sdk -u -a -t extra-android-support,extra-google-google_play_services
Expand Down
6 changes: 5 additions & 1 deletion Android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.droidplanner.android">
package="org.droidplanner.android"
android:installLocation="auto">

<supports-screens
android:requiresSmallestWidthDp="320"/>
Expand All @@ -14,6 +15,7 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />

<uses-feature android:name="android.hardware.screen.portrait"/>

Expand Down Expand Up @@ -148,6 +150,8 @@
android:theme="@style/CustomActionBarTheme.Transparent"
android:launchMode="singleTask"/>

<service android:name=".AppService" />

</application>

</manifest>
37 changes: 28 additions & 9 deletions Android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
apply plugin: 'com.android.application'
// This does not break the build when Android Studio is missing the JRebel for Android plugin.
apply plugin: 'com.zeroturnaround.jrebel.android'
apply plugin: 'io.fabric'
apply plugin: 'kotlin-android'

Expand All @@ -8,16 +10,15 @@ dependencies {
compile 'com.google.android.gms:play-services-analytics:7.8.0'

compile 'com.sothree.slidinguppanel:library:2.0.2'
compile 'com.github.traex.rippleeffect:library:1.3'

compile 'com.android.support:support-v4:22.2.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:cardview-v7:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'com.android.support:design:22.2.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.android.support:design:23.0.1'

//DroneKit-Android client library.
compile 'com.o3dr.android:dronekit-android:2.5.24'
compile 'com.o3dr.android:dronekit-android:2.6.6'

compile 'me.grantland:autofittextview:0.2.1'
compile(name:'shimmer-android-release', ext:'aar')
Expand Down Expand Up @@ -45,10 +46,18 @@ dependencies {
def versionMajor = 3
def versionMinor = 2
def versionPatch = 0
def versionBuild = 3 //bump for dogfood builds, public betas, etc.
def versionBuild = 4 //bump for dogfood builds, public betas, etc.

//Logging levels
def logLevelVerbose = 2;
def logLevelDebug = 3;
def logLevelInfo = 4;
def logLevelWarn = 5;
def logLevelError = 6;
def logLevelAssert = 7;

android {
compileSdkVersion 22
compileSdkVersion 23
buildToolsVersion "22.0.1"

defaultConfig {
Expand All @@ -57,6 +66,10 @@ android {
targetSdkVersion 22
versionCode versionMajor * 100000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
versionName "Tower-v${versionMajor}.${versionMinor}.${versionPatch}"

buildConfigField "boolean", "WRITE_LOG_FILE", "true"
buildConfigField "int", "LOG_FILE_LEVEL", "$logLevelDebug"
buildConfigField "boolean", "ENABLE_CRASHLYTICS", "false"
}

compileOptions {
Expand Down Expand Up @@ -122,17 +135,23 @@ android {
applicationIdSuffix ".beta"
versionNameSuffix ".beta.${versionBuild}"
resValue "string", "app_title", "Tower Beta"
debuggable true
buildConfigField "boolean", "ENABLE_CRASHLYTICS", "true"
}

beta {
signingConfig signingConfigs.release
versionNameSuffix ".beta.${versionBuild}"
resValue "string", "app_title", "Tower"
buildConfigField "boolean", "WRITE_LOG_FILE", "false"
buildConfigField "boolean", "ENABLE_CRASHLYTICS", "true"
}

release {
signingConfig signingConfigs.release
resValue "string", "app_title", "Tower"
buildConfigField "boolean", "WRITE_LOG_FILE", "false"
buildConfigField "boolean", "ENABLE_CRASHLYTICS", "true"
}
}
}
Expand Down
Binary file added Android/res/drawable-hdpi/ic_camera_alt_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-hdpi/ic_cancel_red_500_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-hdpi/ic_help_grey_600_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-hdpi/ic_person_red_500_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-hdpi/ic_schedule_black_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Android/res/drawable-hdpi/ic_wp_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-hdpi/ic_wp_home_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-mdpi/ic_camera_alt_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-mdpi/ic_cancel_red_500_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-mdpi/ic_help_grey_600_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-mdpi/ic_person_red_500_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-mdpi/ic_schedule_black_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Android/res/drawable-mdpi/ic_wp_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-mdpi/ic_wp_home_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-xhdpi/ic_camera_alt_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Android/res/drawable-xhdpi/ic_help_grey_600_18dp.png
Binary file removed Android/res/drawable-xhdpi/ic_wp_home.png
Diff not rendered.
7 changes: 7 additions & 0 deletions Android/res/drawable/ic_camera_drawable.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:drawable="@drawable/ic_camera_alt_blue" android:state_pressed="true" />
<item android:drawable="@drawable/ic_camera_alt_black_36dp" />

</selector>
8 changes: 8 additions & 0 deletions Android/res/drawable/on_off_videocam.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:drawable="@drawable/ic_videocam_alt_blue" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_videocam_alt_blue" android:state_activated="true"/>
<item android:drawable="@drawable/ic_videocam_black_36dp" />

</selector>
22 changes: 22 additions & 0 deletions Android/res/drawable/touch_circle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape
android:shape="oval">
<size
android:width="60dp"
android:height="60dp" />
<stroke
android:width="3dp"
android:color="#aa000000" />
</shape>
</item>
<item>
<shape android:shape="oval">
<solid android:color="#aaffffff" />
<size
android:width="60dp"
android:height="60dp" />
</shape>
</item>
</layer-list>
30 changes: 0 additions & 30 deletions Android/res/layout-land/fragment_full_widget_ekf_status.xml

This file was deleted.

89 changes: 89 additions & 0 deletions Android/res/layout-land/fragment_vibration_viewer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical">

<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="3dp"
android:layout_weight="2">

<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="*"
android:padding="5dp">

<TableRow>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_span="2"
android:gravity="center"
android:text="@string/label_clipping"
android:textStyle="bold" />
</TableRow>

<TableRow>

<TextView android:text="@string/label_primary" />

<TextView
android:id="@+id/primary_clipping_value"
tools:background="@android:color/holo_red_light"
android:gravity="center"
android:text="@string/empty_content"
tools:text="200" />
</TableRow>

<TableRow>

<TextView android:text="@string/label_secondary" />

<TextView
android:id="@+id/secondary_clipping_value"
tools:background="@android:color/holo_green_light"
android:gravity="center"
android:text="@string/empty_content"
tools:text="0" />
</TableRow>

<TableRow>

<TextView android:text="@string/label_tertiary" />

<TextView
android:id="@+id/tertiary_clipping_value"
tools:background="@android:color/holo_green_light"
android:gravity="center"
android:text="@string/empty_content"
tools:text="200" />
</TableRow>

</TableLayout>
</android.support.v7.widget.CardView>

<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
android:layout_marginBottom="3dp"
android:layout_marginLeft="3dp"
android:layout_marginStart="3dp"
android:layout_marginRight="3dp"
android:layout_marginEnd="3dp"
android:layout_weight="1">

<lecho.lib.hellocharts.view.ColumnChartView
android:id="@+id/column_chart"
android:layout_width="match_parent"
android:layout_height="match_parent" />

</android.support.v7.widget.CardView>

</LinearLayout>
Loading