• Stars
    star
    254
  • Rank 160,264 (Top 4 %)
  • Language
    Java
  • License
    Other
  • Created over 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MSDK V5 Sample

DJI Mobile SDK for Android V5 Latest Version 5.7.1

ไธญๆ–‡็‰ˆ

What is DJI Mobile SDK V5?

DJI Mobile SDK V5 has a series of APIs to control the software and hardware interfaces of an aircraft. We provide an open source production sample and a tutorial for developers to develop a more competitive drone solution on mobile device. This improves the experience and efficiency of MSDK App development.

Supported Product:

Project Directory Introduction

โ”œโ”€โ”€ Docs
โ”‚ย ย  โ”œโ”€โ”€ API-Diff
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.0.0_5.1.0_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.0.0_beta2_5.0.0_beta3_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.0.0_beta3_5.0.0_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.1.0_5.2.0_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.2.0_5.3.0_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.4.0_5.5.0_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 5.5.0_5.6.0_android_diff.html
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ 5.6.0_5.7.0_android_diff.html
โ”‚ย ย  โ””โ”€โ”€ Android_API
โ”‚ย ย      โ”œโ”€โ”€ cn
โ”‚ย ย      โ””โ”€โ”€ en
โ”œโ”€โ”€ LICENSE.txt
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ README_CN.md
โ””โ”€โ”€ SampleCode-V5
    โ”œโ”€โ”€ android-sdk-v5-as
    โ”œโ”€โ”€ android-sdk-v5-sample
    โ”‚ย ย  โ”œโ”€โ”€ app-aircraft
    โ”‚ย ย  โ”œโ”€โ”€ module-aircraft
    โ”‚ย ย  โ””โ”€โ”€ module-common
    โ””โ”€โ”€ android-sdk-v5-uxsdk

API Difference

Software License

The DJI Android SDK is dynamically linked with unmodified libraries of FFmpeg licensed under the LGPLv2.1. The source code of these FFmpeg libraries, the compilation instructions, and the LGPL v2.1 license are provided in Github. The DJI Sample Code V5 in this repo is offered under MIT License.

Sample Explanation

Sample can be divided into three parts:

  • Basic module: Provides basic operation of every poduct package.
  • Scenographic Sample: Provides scenographic sample support of aircraft.
  • App Module: Offer an Airplane App.

For detailed configuration, please refer to settings.gradle.

Basic module:

  • sample-module-common: Common code for sample.
  • sample-module-aircraft: Unique code of aircraft App, which depends on sample-module-common.

Scenographic Sample๏ผš

  • uxsdk: Scenographic Sample. Currently only aircraft(dji-sdk-v5-aircraft) are supported.

App module:

  • sample-app-aircraft๏ผšCompile aircraft App, which depends on sample-module-aircraft, uxsdk.

Integration

For further detail on how to integrate the DJI Android SDK into your Android Studio project, please check the tutorial:

AAR Explanation

Notice: sdkVersion = 5.7.1

SDK package Explanation How to use
dji-sdk-v5-aircraft Aircraft main package, which provides support for MSDK to control the aircraft. implementation 'com.dji:dji-sdk-v5-aircraft:{sdkVersion}'
dji-sdk-v5-aircraft-provided Aircraft compilation package, which provides interfaces related to the aircraft package. compileOnly 'com.dji:dji-sdk-v5-aircraft-provided:{sdkVersion}'
dji-sdk-v5-networkImp Network library package, which provides network connection ability for MSDK. Without this dependency, all network functions of MSDK will not work, but the interfaces of hardware control can be used normally. runtimeOnly 'com.dji:dji-sdk-v5-networkImp:{sdkVersion}'
  • If only the aircraft product is in need to support, please use:

    implementation 'com.dji:dji-sdk-v5-aircraft:{sdkVersion}'
    compileOnly 'com.dji:dji-sdk-v5-aircraft-provided:{sdkVersion}'
  • If the MSDK have to use network(required by default), please use:

    runtimeOnly 'com.dji:dji-sdk-v5-networkImp:{sdkVersion}'

Support

You can get support from DJI with the following method:

Join Us

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:

For more details, and list of all our global offices, please check https://we.dji.com/jobs_en.html.

More Repositories

1

Tello-Python

This is a collection of python modules that interact with the Ryze Tello drone.
Python
1,346
star
2

Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Java
976
star
3

Onboard-SDK

DJI Onboard SDK Official Repository
C++
904
star
4

Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Objective-C
576
star
5

Onboard-SDK-ROS

Official ROS packages for DJI onboard SDK.
C++
443
star
6

RoboMaster-SDK

DJI RoboMaster Python SDK and Sample Code for RoboMaster EP.
C
322
star
7

Payload-SDK

DJI Payload SDK Official Repository
C
223
star
8

Windows-SDK

DJI Windows SDK: http://developer.dji.com/windows-sdk/
C
166
star
9

Mobile-UXSDK-Android

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of Android applications using the DJI Mobile SDK.
151
star
10

Guidance-SDK

The official Guidance SDK package for Windows, Ubuntu and XU3.
C++
134
star
11

DJI-Cloud-API-Demo

Java
120
star
12

Mobile-UXSDK-Beta-Android

Mobile Android UXSDK Beta
Java
97
star
13

Cloud-API-Demo-Web

Vue
93
star
14

Android-Bridge-App

Source code of DJI Android Bridge App.
Java
93
star
15

Guidance-SDK-ROS

The official ROS package of Guidance SDK for 32/64 bit Ubuntu and XU3
C++
80
star
16

Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Objective-C
73
star
17

Mobile-SDK-Tutorial

GitBook Link
CSS
61
star
18

Mobile-SDK-Doc

Source code and docs for the documentation page of DJI Mobile SDK Developer Website.
HTML
52
star
19

FlightRecordParsingLib

DJI Flight Record Parsing Lib
C++
45
star
20

DJI-IoTEdge

This project is a sample for you to learn how to combine Microsoft Azure IoT Edge DJI Windows SDK and DJI Drones.
C#
45
star
21

iOS-Bridge-App

The source code of DJI Bridge App project
Objective-C
38
star
22

DJIWidget

The DJIWidget is a delightful DJI library includes VideoPreviewer for video decoding.
C
35
star
23

Manifold-Cam

The project realizes to get the video data from X3 camera on M100.
C
34
star
24

Onboard-SDK-Doc

Source code and docs for the documentation page of DJI Onboard SDK Developer Website.
HTML
34
star
25

Mobile-UXSDK-Beta-iOS

Mobile iOS UXSDK Beta
Objective-C
23
star
26

Cloud-API-Doc

20
star
27

Edge-SDK

DJI Edge SDK Official Repository
C++
19
star
28

Windows-SDK-Doc

Source code and docs for the documentation page of DJI Windows SDK Developer Website.
HTML
18
star
29

Mobile-OSDK-iOS-App

Mobile - OnboardSDK communication iOS app
Objective-C
15
star
30

Payload-SDK-Doc

Source code and docs for the documentation page of DJI Payload SDK Developer Website.
HTML
14
star
31

DJIPSDKVideoStreamCheckTool

PSDK video stream check tool, used to check whether the specified video stream conforms to the PSDK video stream standard
C
13
star
32

Guidance-SDK-Doc

Source code and docs for the documentation page of DJI Guidance SDK Developer Website.
CSS
9
star
33

Mobile-SDK-Tutorial-V5

Mobile SDK Tutorial V5 Public
6
star
34

Onboard-SDK-Resources

6
star
35

Onboard-SDK-ROS-Release

4
star
36

DJIFlySafeDatabaseResource

DJIFlySafeDatabaseResource bundle.
Ruby
2
star
37

DJINetworkRTKHelper

The DJINetworkRTKHelper is used for Network RTK service in DJI Mobile SDK.
Ruby
2
star
38

OnboardSDK-Ping-iOSApp

Companion iOS App for Ping ADS-B integration to DJI onboard SDK.
Objective-C
1
star
39

Payload-SDK-Tutorial

Payload SDK Tutorial
1
star