Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoker1 committed Jun 8, 2022
1 parent cfd1877 commit dcbe9f2
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions Docs/API-Diff/5.0.0_beta2_5.0.0_beta3_android_diff.html

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions Docs/Important-Steps-On-Beginning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Important Steps Before Run MSDK V5 On Your Own Project

## Step 1 : check packagingOptions on your project app build.gradle
Please compare with the file in Sample, like this : https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/dev-sdk-main/SampleCode-V5/android-sdk-v5-sample/app-aircraft/build.gradle .Then,check your packagingOptions with sample build.gradle's packagingOptions,rigth now it will look like this:

```groovy
packagingOptions {
doNotStrip "*/*/libconstants.so"
doNotStrip "*/*/libdji_innertools.so"
doNotStrip "*/*/libdjibase.so"
doNotStrip "*/*/libDJICSDKCommon.so"
doNotStrip "*/*/libDJIFlySafeCore-CSDK.so"
doNotStrip "*/*/libdjifs_jni-CSDK.so"
doNotStrip "*/*/libDJIRegister.so"
doNotStrip "*/*/libdjisdk_jni.so"
doNotStrip "*/*/libDJIUpgradeCore.so"
doNotStrip "*/*/libDJIUpgradeJNI.so"
doNotStrip "*/*/libDJIWaypointV2Core-CSDK.so"
doNotStrip "*/*/libdjiwpv2-CSDK.so"
doNotStrip "*/*/libffmpeg.so"
doNotStrip "*/*/libFlightRecordEngine.so"
doNotStrip "*/*/libvideo-framing.so"
doNotStrip "*/*/libwaes.so"
doNotStrip "*/*/libagora-rtsa-sdk.so"
doNotStrip "*/*/libc++.so"
doNotStrip "*/*/libc++_shared.so"
doNotStrip "*/*/libmrtc_28181.so"
doNotStrip "*/*/libmrtc_agora.so"
doNotStrip "*/*/libmrtc_core.so"
doNotStrip "*/*/libmrtc_core_jni.so"
doNotStrip "*/*/libmrtc_data.so"
doNotStrip "*/*/libmrtc_log.so"
doNotStrip "*/*/libmrtc_onvif.so"
doNotStrip "*/*/libmrtc_rtmp.so"
doNotStrip "*/*/libmrtc_rtsp.so"
}
```


## Step 2 : check proguard file on your app
All your need is in sample file :https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/dev-sdk-main/SampleCode-V5/android-sdk-v5-as/proguard-relative/sample.pro . Your should copy it to your own project.

## Step 3 : make sure use com.secneo.sdk.Helper.install(this)
Yous must add this code `com.secneo.sdk.Helper.install(this)` on your own `Application`. Your can refer to this : https://github.com/dji-sdk/Mobile-SDK-Android-V5/blob/dev-sdk-main/SampleCode-V5/android-sdk-v5-sample/app-aircraft/src/main/java/dji/sampleV5/aircraft/DJIAircraftApplication.kt .
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@

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.

### Support Product:
### Support Product

1. M30_SERIES

### Begin
- [Important Steps On Beginning](Docs/Important-Steps-On-Beginning.md)

### API Diff

- [5.0.0_beta2_5.0.0_beta3_android_diff](https://dji-sdk.github.io/Mobile-SDK-Android-V5/Docs/API-Diff/5.0.0_beta2_5.0.0_beta3_android_diff.html)

## Integration

For further detail on how to integrate the DJI Android SDK into your Android Studio project, please check the [Integrate SDK into Application](https://developer.dji.com/cn/document/36799544-729a-4f1a-ae60-8afe9a546db8) tutorial.
Expand Down

0 comments on commit dcbe9f2

Please sign in to comment.