Skip to content

Commit ee261f3

Browse files
author
huangsihua
committed
autel V3 drone sdk
0 parents  commit ee261f3

File tree

404 files changed

+56960
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+56960
-0
lines changed

.classpath

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
4+
<classpathentry kind="src" path="app/src/main/java"/>
5+
<classpathentry kind="src" path="camera/src/androidTest/java"/>
6+
<classpathentry kind="src" path="camera/src/main/java"/>
7+
<classpathentry kind="src" path="camera/src/test/java"/>
8+
<classpathentry kind="src" path="libbase/src/main/java"/>
9+
<classpathentry kind="src" path="libcore/src/main/java"/>
10+
<classpathentry kind="src" path="libupdrage/src/main/java"/>
11+
<classpathentry kind="src" path="sdkLib/src/main/java"/>
12+
<classpathentry kind="src" path="service1.0/src/main/java"/>
13+
<classpathentry kind="src" path="service2.0/src/main/java"/>
14+
<classpathentry kind="src" path="xLog/src/main/java"/>
15+
<classpathentry kind="lib" path="app/libs/Android_Map3D_SDK_V5.0.0_20170311.jar"/>
16+
<classpathentry kind="lib" path="gradle/wrapper/gradle-wrapper.jar"/>
17+
<classpathentry kind="lib" path="libbase/libs/commons-codec-1.5.jar"/>
18+
<classpathentry kind="lib" path="service1.0/libs/hamcrest-core-1.3-sources.jar"/>
19+
<classpathentry kind="lib" path="service1.0/libs/httpclient-4.2.5.jar"/>
20+
<classpathentry kind="lib" path="service1.0/libs/httpcore-4.2.4.jar"/>
21+
<classpathentry kind="output" path="bin"/>
22+
<classpathentry kind="lib" path="C:\Users\R22449\AppData\Local\Android\Sdk\platforms\android-33\android.jar"/>
23+
<classpathentry kind="lib" path="D:\auteldevelop\rxjava-2.1.2.jar"/>
24+
25+
<classpathentry kind="lib" path="D:\auteldevelop\gson-2.8.7.jar"/>
26+
27+
<classpathentry kind="lib" path="D:\auteldevelop\okhttp-4.7.2.jar"/>
28+
<classpathentry kind="lib" path="D:\auteldevelop\support-annotations-25.3.1.jar"/>
29+
<classpathentry kind="lib" path="D:\auteldevelop\annotations-13.0.jar"/>
30+
31+
<classpathentry kind="lib" path="D:\auteldevelop\eventbus-3.0.0.jar"/>
32+
33+
<classpathentry kind="lib" path="D:\auteldevelop\okio-2.6.0.jar"/>
34+
35+
<classpathentry kind="lib" path="D:\auteldevelop\support-annotations-25.3.1.jar"/>
36+
37+
</classpath>

.gitignore

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
.gradle
2+
/local.properties
3+
/.idea/workspace.xml
4+
/.idea/libraries
5+
.DS_Store
6+
/build
7+
/captures
8+
# Created by https://www.gitignore.io
9+
10+
### Android ###
11+
# Built application files
12+
/*/*.apk
13+
*.ap_
14+
15+
# Files for the Dalvik VM
16+
*.dex
17+
18+
# Java class files
19+
*.class
20+
21+
# Generated files
22+
bin/
23+
gen/
24+
25+
# Gradle files
26+
.gradle/
27+
build/
28+
/*/build/
29+
30+
# Local configuration file (sdk path, etc)
31+
local.properties
32+
33+
# Proguard folder generated by Eclipse
34+
proguard/
35+
36+
# Log Files
37+
*.lng
38+
39+
40+
### Gradle ###
41+
.gradle
42+
build/
43+
44+
# Ignore Gradle GUI config
45+
gradle-app.setting
46+
47+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
48+
!gradle-wrapper.jar
49+
50+
51+
# Created by https://www.gitignore.io
52+
53+
### Intellij ###
54+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
55+
56+
*.iml
57+
app.iml
58+
## Directory-based project format:
59+
.idea/
60+
# if you remove the above rule, at least ignore the following:
61+
62+
# User-specific stuff:
63+
# .idea/workspace.xml
64+
# .idea/tasks.xml
65+
# .idea/dictionaries
66+
67+
# Sensitive or high-churn files:
68+
# .idea/dataSources.ids
69+
# .idea/dataSources.xml
70+
# .idea/sqlDataSources.xml
71+
# .idea/dynamic.xml
72+
# .idea/uiDesigner.xml
73+
74+
# Gradle:
75+
# .idea/gradle.xml
76+
# .idea/libraries
77+
78+
# Mongo Explorer plugin:
79+
# .idea/mongoSettings.xml
80+
81+
## File-based project format:
82+
*.ipr
83+
*.iws
84+
85+
## Plugin-specific files:
86+
87+
# IntelliJ
88+
out/
89+
90+
# mpeltonen/sbt-idea plugin
91+
.idea_modules/
92+
93+
# JIRA plugin
94+
atlassian-ide-plugin.xml
95+
96+
# Crashlytics plugin (for Android Studio and IntelliJ)
97+
com_crashlytics_export_strings.xml
98+
crashlytics.properties
99+
crashlytics-build.properties
100+
101+
/mavlink/
102+
/libbase/src/main/jniLibs/arm64-v8a/libNetWorkProxy.so

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>selfdevelop_autel_New_SDK</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
4+
android {
5+
signingConfigs {
6+
config {
7+
keyAlias 'android'
8+
keyPassword 'android'
9+
storeFile file('../platform.keystore')
10+
storePassword 'android'
11+
}
12+
}
13+
compileSdkVersion 29
14+
defaultConfig {
15+
applicationId "com.autel.maxlink"
16+
minSdkVersion 19
17+
//noinspection ExpiredTargetSdkVersion
18+
targetSdkVersion 29
19+
versionCode 1
20+
versionName "V1.0.1.40"
21+
multiDexEnabled true
22+
signingConfig signingConfigs.config
23+
}
24+
buildTypes {
25+
release {
26+
project.ext.set("archivesBaseName", "NewSDK_" + defaultConfig.versionName)
27+
minifyEnabled false
28+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
29+
}
30+
debug {
31+
project.ext.set("archivesBaseName", "NewSDK_" + defaultConfig.versionName)
32+
minifyEnabled false
33+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
34+
signingConfig signingConfigs.config
35+
}
36+
}
37+
lintOptions {
38+
abortOnError false
39+
}
40+
productFlavors {
41+
}
42+
}
43+
44+
repositories {
45+
flatDir {
46+
dirs 'libs'
47+
}
48+
// mavenCentral()
49+
// google()
50+
}
51+
52+
53+
dependencies {
54+
implementation fileTree(include: ['*.jar'], dir: 'libs')
55+
// testCompile 'junit:junit:4.12'
56+
//*
57+
// implementation project(':sdk')
58+
59+
compile(name: "autel-sdk-release", ext: "aar")
60+
61+
62+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
63+
//noinspection GradleCompatible
64+
// implementation 'com.android.support:appcompat-v7:25.3.1'
65+
implementation 'com.google.android.gms:play-services-maps:17.0.1'
66+
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
67+
implementation 'com.android.support:multidex:1.0.3'
68+
//noinspection GradleCompatible
69+
implementation 'com.android.support:recyclerview-v7:25.3.1'
70+
71+
implementation 'androidx.appcompat:appcompat:1.0.0'
72+
73+
74+
implementation('com.squareup.okhttp3:okhttp:4.7.2')
75+
// compile autelSdkDependencies.okIO
76+
// api 'io.reactivex.rxjava2:rxjava:2.1.2'
77+
// api 'io.reactivex.rxjava2:rxandroid:2.0.1'
78+
// api files('libs/commons-codec-1.5.jar')
79+
// api 'org.greenrobot:eventbus:3.0.0'
80+
implementation 'com.google.code.gson:gson:2.8.7'
81+
// api "androidx.annotation:annotation:1.0.0"
82+
}
83+
2.44 MB
Binary file not shown.

app/libs/autel-sdk-release.aar

10.2 MB
Binary file not shown.

app/proguard-rules.pro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in D:\program\android\sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}

app/src/main/AndroidManifest.xml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.autel.sdksample">
4+
5+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
6+
<uses-permission android:name="android.permission.INTERNET" />
7+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
8+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
9+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
10+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
11+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
12+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
13+
14+
<!-- Support devices without USB host mode since there are other connection types -->
15+
<application
16+
android:name=".TestApplication"
17+
android:allowBackup="false"
18+
android:icon="@mipmap/ic_launcher"
19+
android:label="@string/app_name"
20+
android:supportsRtl="true"
21+
android:theme="@style/AppTheme">
22+
<uses-library android:name="com.android.future.usb.accessory" />
23+
24+
<activity
25+
android:name=".ProductActivity"
26+
android:configChanges="orientation|keyboardHidden|screenSize"
27+
android:launchMode="singleTask"
28+
android:screenOrientation="portrait">
29+
<intent-filter>
30+
<action android:name="android.intent.action.MAIN" />
31+
32+
<category android:name="android.intent.category.LAUNCHER" />
33+
</intent-filter>
34+
</activity>
35+
<activity android:name=".evo.G2RemoteControllerActivity" />
36+
<activity android:name=".evo.G2FlyControllerActivity" />
37+
<activity android:name=".evo.G2GimbalActivity" />
38+
<activity android:name=".evo.G2DspActivity" />
39+
<activity android:name=".evo.G2BatteryActivity" />
40+
<activity android:name=".xstar.XStarRemoteControllerActivity" />
41+
<activity android:name=".xstar.XStarFlyControllerActivity" />
42+
<activity android:name=".xstar.XStarGimbalActivity" />
43+
<activity android:name=".xstar.XStarDspActivity" />
44+
<activity android:name=".xstar.XStarBatteryActivity" />
45+
<activity android:name=".premium.XStarPremiumRemoteControllerActivity" />
46+
<activity android:name=".premium.XStarPremiumFlyControllerActivity" />
47+
<activity android:name=".premium.XStarPremiumGimbalActivity" />
48+
<activity android:name=".premium.XStarPremiumDspActivity" />
49+
<activity android:name=".premium.XStarPremiumBatteryActivity" />
50+
<activity android:name=".TestActivity" />
51+
<activity
52+
android:name=".base.camera.CameraActivity"
53+
android:configChanges="keyboardHidden|orientation|screenSize"
54+
android:screenOrientation="landscape" />
55+
<activity android:name=".base.BatteryActivity" />
56+
<activity android:name=".base.album.AlbumActivity" />
57+
<activity
58+
android:name=".base.mission.MissionActivity"
59+
android:configChanges="keyboardHidden|orientation|screenSize"
60+
android:screenOrientation="landscape" />
61+
<activity
62+
android:name=".base.mission.AMapMissionActivity"
63+
android:configChanges="keyboardHidden|orientation|screenSize"
64+
android:screenOrientation="landscape" />
65+
<activity
66+
android:name=".base.mission.GMapMissionActivity"
67+
android:configChanges="keyboardHidden|orientation|screenSize"
68+
android:screenOrientation="landscape" />
69+
<activity
70+
android:name=".base.CodecActivity"
71+
android:configChanges="orientation|keyboardHidden|screenSize"
72+
android:screenOrientation="sensorLandscape" />
73+
<activity
74+
android:name=".base.CodecViewActivity"
75+
android:configChanges="orientation|keyboardHidden|screenSize"
76+
android:screenOrientation="sensorLandscape"
77+
android:theme="@style/CodecTheme" />
78+
79+
<receiver android:name=".UsbBroadCastReceiver">
80+
<intent-filter>
81+
<action android:name="com.autel.sdk.action.USB_ACCESSORY_ATTACHED" />
82+
</intent-filter>
83+
84+
<meta-data
85+
android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
86+
android:resource="@xml/accessory_filter" />
87+
</receiver>
88+
89+
<meta-data
90+
android:name="com.amap.api.v2.apikey"
91+
android:value="898dd49103b21093fc04cb68b7e99ac5" />
92+
<meta-data
93+
android:name="com.google.android.maps.v2.API_KEY"
94+
android:value="AIzaSyDQbPdnNBGtzSjdPtQaO3F_EmVHX4EttKE" />
95+
<meta-data
96+
android:name="com.google.android.gms.version"
97+
android:value="@integer/google_play_services_version" />
98+
99+
<activity
100+
android:name=".evo.visual.VisualActivity"
101+
android:screenOrientation="landscape" />
102+
<activity
103+
android:name=".evo.avoid.AvoidActivity"
104+
android:screenOrientation="landscape" />
105+
<activity
106+
android:name="com.autel.internal.XStarPremiumUpgradeActivity"
107+
android:configChanges="keyboardHidden|orientation|screenSize"
108+
android:screenOrientation="landscape" />
109+
<activity
110+
android:name=".evo.visual.DynamicTrackActivity"
111+
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
112+
android:screenOrientation="landscape" />
113+
<activity android:name=".ZteLogActivity"></activity>
114+
</application>
115+
116+
</manifest>

app/src/main/assets/autel13.backup

2.18 MB
Binary file not shown.

0 commit comments

Comments
 (0)