Skip to content
Projects

dji-sdk/Mobile-SDK-Android-V5

View on GitHub

About

MSDK V5 sample

Developer Tools

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

DJI Mobile SDK for Android V5 Latest Version V5.20.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: DJI Matrice 5T · DJI Mavic 3TA · Matrice 400 · Matrice 4D Enterprise Series · DJI Mini4 PRO · Matrice 4 Enterprise Series · H30 Series · DJI Mini3 Pro · DJI Mini3 · Mavic 3 Enterprise Series · M30 Series · M300 RTK · Matrice 350 RTK · DJI Mavic 3TA

Sample Code

Sample Description
open-pilot-plugin-sample Pilot plugin interface demo: custom UI, map / AR, video stream drawing, waypoint, file and data pipeline
open-pilot-flighttask-sample Flight task management: task dispatch from Web, task receiving on RC, KMZ waypoint execution, resource upload
open-pilot-gasdetection-sample Gas detection: task dispatch, PSDK payload access, real-time monitoring and alarm, ship identification and following
open-pilot-patrol-sample Intelligent patrol: waypoint patrol, target recognition and capture, map / AR marking, resource upload
android-sdk-v5-uxsdk Scenographic Example (UX SDK). Currently only aircraft are supported
android-sdk-v5-sample Basic MSDK Sample App, depends on uxsdk

Open Pilot Wizard (OPW)

OPW is an AI toolkit for developing DJI Pilot plugins with OpenCode, Claude Code, or Codex. Describe your requirements in natural language to get help creating plugin projects, adding features, troubleshooting issues, and migrating existing MSDK apps.

Download the OPW 1.0.0 installer using the raw-file download option on the file page. Give your AI tool the local ZIP path and ask it to follow INSTALL_AGENT.md inside the archive. If you have cloned this repository, use the archive in OpenPilotWizard directly.

For installation and usage, see the OPW README.

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.20.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}'
    

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.

Support

You can get support from DJI with the following method:

Explore related projects

Loading…