Skip to content

Commit 6a6b4de

Browse files
Merge branch 'master' into release
2 parents c1e8df0 + e749119 commit 6a6b4de

39 files changed

+329
-1265
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.idea/*
2+
*.iml
3+
local.properties
4+
gradle
5+
.gradle
6+
gradlew*
7+

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Droidplanner v2.1.2
2+
* Clean-up of Strings.xml (#617)
3+
* Adds a check for Google Play Services (#639)
4+
* Adding support for Android Studio, Gradle (#623,#619)
5+
16
## Droidplanner v2.1.1
27
* Fix Parameters screen issue (#613)
38
* Making flight screen mission markers un-draggable (#614)

DroidPlanner/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# generated files
1212
bin/
1313
gen/
14+
build/
1415

1516
# Local configuration file (sdk path, etc)
1617
local.properties

DroidPlanner/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="org.droidplanner"
4-
android:versionCode="59"
4+
android:versionCode="60"
55
android:versionName="please run version.sh to get the version name">
66

77
<uses-sdk
88
android:minSdkVersion="14"
9-
android:targetSdkVersion="18" />
9+
android:targetSdkVersion="19" />
1010

1111
<supports-screens
1212
android:requiresSmallestWidthDp="540"/>

DroidPlanner/FlightDataActivity.iml

Lines changed: 0 additions & 46 deletions
This file was deleted.

DroidPlanner/build.gradle

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
apply plugin: 'android'
2+
3+
dependencies {
4+
compile files('libs/usbseriallibrary.jar')
5+
compile 'com.android.support:support-v4:18.0.0'
6+
compile 'com.google.android.gms:play-services:4.0.30'
7+
compile project(':Mavlink')
8+
compile project(':HorizontalVariableListView:HorizontalVariableListView')
9+
}
10+
11+
android {
12+
compileSdkVersion 19
13+
buildToolsVersion "19.0.1"
14+
15+
sourceSets {
16+
main {
17+
manifest.srcFile 'AndroidManifest.xml'
18+
java.srcDirs = ['src']
19+
resources.srcDirs = ['src']
20+
aidl.srcDirs = ['src']
21+
renderscript.srcDirs = ['src']
22+
res.srcDirs = ['res']
23+
assets.srcDirs = ['assets']
24+
}
25+
26+
// Move the tests to tests/java, tests/res, etc...
27+
instrumentTest.setRoot('tests')
28+
29+
// Move the build types to build-types/<type>
30+
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
31+
// This moves them out of them default location under src/<type>/... which would
32+
// conflict with src/ being used by the main source set.
33+
// Adding new build types or product flavors should be accompanied
34+
// by a similar customization.
35+
debug.setRoot('build-types/debug')
36+
release.setRoot('build-types/release')
37+
}
38+
}

DroidPlanner/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=android-18
14+
target=android-19
1515
android.library.reference.1=../google-play-services_lib
1616
android.library.reference.2=../Mavlink
1717
android.library.reference.3=../HorizontalVariableListView/HorizontalVariableListView

DroidPlanner/res/values-de/strings.xml

Lines changed: 0 additions & 55 deletions
This file was deleted.

DroidPlanner/res/values-el/strings.xml

Lines changed: 0 additions & 54 deletions
This file was deleted.

DroidPlanner/res/values-fr/strings.xml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)