Skip to content

Commit 0a7fcba

Browse files
committed
refactor(andriod): 引用组件,重新实现了一些操作。
1 parent b63feee commit 0a7fcba

Some content is hidden

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

44 files changed

+84
-3942
lines changed
Binary file not shown.

AndroidTemplate/.idea/codeStyles/Project.xml

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AndroidTemplate/.idea/gradle.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AndroidTemplate/.idea/misc.xml

+5-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AndroidTemplate/app/build.gradle

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 26
5+
sourceSets{
6+
main {
7+
jniLibs.srcDirs = ['libs']
8+
}
9+
}
510
defaultConfig {
611
applicationId "com.example.UserSoftwareAndroidTemplate"
712
minSdkVersion 19
@@ -16,7 +21,7 @@ android {
1621
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1722
}
1823
}
19-
buildToolsVersion '27.0.0'
24+
buildToolsVersion '27.0.3'
2025
}
2126

2227
dependencies {
@@ -29,4 +34,5 @@ dependencies {
2934
androidTestImplementation 'com.android.support.test:runner:1.0.1'
3035
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
3136
implementation 'com.google.code.gson:gson:2.8.2'
37+
implementation files('libs/HslCommunication.jar')
3238
}
127 KB
Binary file not shown.

AndroidTemplate/app/src/main/java/com/example/HslCommunication/BasicFramework/SoftBasic.java

-13
This file was deleted.

AndroidTemplate/app/src/main/java/com/example/HslCommunication/BasicFramework/SystemVersion.java

-183
This file was deleted.

AndroidTemplate/app/src/main/java/com/example/HslCommunication/Core/Net/HslCommunicationCode.java

-100
This file was deleted.

0 commit comments

Comments
 (0)