-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.DS_Store | ||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
/bin | ||
/gen | ||
build/ | ||
.gradle | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Eclipse project files | ||
#.classpath | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
# Intellij project files | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea/ | ||
|
||
#ant relative files | ||
build.xml | ||
#ant.properties | ||
|
||
#backup files | ||
*.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,57 +13,36 @@ Declare dependency via Maven: | |
<dependency> | ||
<groupId>com.dji</groupId> | ||
<artifactId>dji-uxsdk</artifactId> | ||
<version>4.14</version> | ||
<version>4.15</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.dji</groupId> | ||
<artifactId>dji-sdk-provided</artifactId> | ||
<version>4.14</version> | ||
<version>4.15.1</version> | ||
</dependency> | ||
~~~ | ||
|
||
or Gradle: | ||
|
||
~~~groovy | ||
implementation ('com.dji:dji-uxsdk:4.14', { | ||
implementation ('com.dji:dji-uxsdk:4.15', { | ||
/** | ||
* Comment the "library-anti-distortion" if your app does need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom. | ||
* Comment the "fly-safe-database" if you do not need database for release, or we will download it when DJISDKManager.getInstance().registerApp | ||
* is called. | ||
* Both will greatly reduce the size of the APK. | ||
*/ | ||
exclude module: 'library-anti-distortion' | ||
exclude module: 'fly-safe-database' | ||
// exclude module: 'fly-safe-database' | ||
/** | ||
* Uncomment the following line to exclude amap from the app. | ||
* Note that Google Play Store does not allow APKs that include this library. | ||
*/ | ||
// exclude group: 'com.amap.api' | ||
}) | ||
/** | ||
* Uncomment the following block if you are using an SDK version does not match the UX SDK | ||
* version above. For example, this could be used if the SDK has a minor release version | ||
* ahead of the UX SDK. | ||
*/ | ||
// implementation ('com.dji:dji-sdk:4.14', { | ||
// /** | ||
// * Uncomment the "library-anti-distortion" if your app does not need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom. | ||
// * Uncomment the "fly-safe-database" if you need database for release, or we will download it when DJISDKManager.getInstance().registerApp | ||
// * is called. | ||
// * Both will greatly reduce the size of the APK. | ||
// */ | ||
// exclude module: 'library-anti-distortion' | ||
// exclude module: 'fly-safe-database' | ||
// | ||
// /** | ||
// * Uncomment the following line to exclude amap from the app. | ||
// * Note that Google Play Store does not allow APKs that include this library. | ||
// */ | ||
// // exclude group: 'com.amap.api' | ||
// }) | ||
compileOnly ('com.dji:dji-sdk-provided:4.14') | ||
compileOnly ('com.dji:dji-sdk-provided:4.15.1') | ||
~~~ | ||
|
||
For further detail on how to integrate the DJI UX SDK into your Android Studio project, please check the [Getting Started with UX SDK](http://developer.dji.com/mobile-sdk/documentation/android-tutorials/UXSDKDemo.html#import-maven-dependency) tutorial. | ||
|
@@ -108,4 +87,3 @@ You can get support from DJI with the following methods: | |
DJI is looking for all kinds of Software Engineers to continue building the Future of Possible. Available positions in Shenzhen, China and around the world. If you are interested, please send your resume to <[email protected]>. For more details, and list of all our global offices, please check <https://we.dji.com/jobs_en.html>. | ||
|
||
DJI 招软件工程师啦,based在深圳,如果你想和我们一起把DJI产品做得更好,请发送简历到 <[email protected]>. 详情请浏览 <https://we.dji.com/zh-CN/recruitment>. | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters