diff --git a/Code/Android/.idea/Android.iml b/Code/Android/.idea/Android.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/Code/Android/.idea/Android.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/.idea/modules.xml b/Code/Android/.idea/modules.xml
new file mode 100644
index 0000000..4b3d351
--- /dev/null
+++ b/Code/Android/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/.idea/runConfigurations.xml b/Code/Android/.idea/runConfigurations.xml
new file mode 100644
index 0000000..797acea
--- /dev/null
+++ b/Code/Android/.idea/runConfigurations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/.idea/workspace.xml b/Code/Android/.idea/workspace.xml
new file mode 100644
index 0000000..af3a34f
--- /dev/null
+++ b/Code/Android/.idea/workspace.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1641731768884
+
+
+ 1641731768884
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/.gitignore b/Code/Android/projectFirst/.gitignore
new file mode 100644
index 0000000..aa724b7
--- /dev/null
+++ b/Code/Android/projectFirst/.gitignore
@@ -0,0 +1,15 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
diff --git a/Code/Android/projectFirst/.idea/codeStyles b/Code/Android/projectFirst/.idea/codeStyles
new file mode 100644
index 0000000..e2e415d
--- /dev/null
+++ b/Code/Android/projectFirst/.idea/codeStyles
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/.idea/compiler.xml b/Code/Android/projectFirst/.idea/compiler.xml
new file mode 100644
index 0000000..b1bda62
--- /dev/null
+++ b/Code/Android/projectFirst/.idea/compiler.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/.idea/gradle.xml b/Code/Android/projectFirst/.idea/gradle.xml
new file mode 100644
index 0000000..ac6b0ae
--- /dev/null
+++ b/Code/Android/projectFirst/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/.idea/jarRepositories.xml b/Code/Android/projectFirst/.idea/jarRepositories.xml
new file mode 100644
index 0000000..c638ed2
--- /dev/null
+++ b/Code/Android/projectFirst/.idea/jarRepositories.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/.idea/misc.xml b/Code/Android/projectFirst/.idea/misc.xml
new file mode 100644
index 0000000..4700283
--- /dev/null
+++ b/Code/Android/projectFirst/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/.idea/runConfigurations.xml b/Code/Android/projectFirst/.idea/runConfigurations.xml
new file mode 100644
index 0000000..e497da9
--- /dev/null
+++ b/Code/Android/projectFirst/.idea/runConfigurations.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/app/.gitignore b/Code/Android/projectFirst/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/Code/Android/projectFirst/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/Code/Android/projectFirst/app/build.gradle b/Code/Android/projectFirst/app/build.gradle
new file mode 100644
index 0000000..8708cfa
--- /dev/null
+++ b/Code/Android/projectFirst/app/build.gradle
@@ -0,0 +1,78 @@
+apply plugin:'com.android.application'
+
+android {
+ compileSdkVersion 30
+ buildToolsVersion "30.0.2"
+
+ defaultConfig {
+ applicationId "com.app.projectfirst"
+ minSdkVersion 16
+ targetSdkVersion 30
+ versionCode 1
+ versionName "1.0"
+ multiDexEnabled true
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ ndk {
+ //设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
+ abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","x86_64"
+ }
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+}
+
+dependencies {
+
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+ implementation files('libs\\commons-lang3-3.7.jar')
+ implementation files('libs\\AMap3DMap_7.9.1_AMapNavi_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar')
+ implementation 'com.android.support:design:30.0.2'
+ implementation 'com.android.support:recyclerview-v7:30.0.2'
+
+ implementation 'com.android.support:multidex:1.0.3'
+ //网络请求
+ implementation 'com.squareup.okhttp3:okhttp:3.14.2'
+ implementation 'com.squareup.okio:okio:1.17.4'
+ implementation 'cz.msebera.android:httpclient:4.4.1.1'
+ implementation 'com.loopj.android:android-async-http:1.4.9'
+ //图片加载
+ implementation 'com.github.bumptech.glide:glide:4.6.1'
+ annotationProcessor 'com.github.bumptech.glide:glide:4.6.1'
+ implementation 'com.youth.banner:banner:1.4.10' //最新版本
+ //依赖注入
+ implementation 'com.jakewharton:butterknife:10.2.1'
+ annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
+ //JSON于对象转换
+ implementation 'com.google.code.gson:gson:2.7'
+ //弹窗
+ implementation 'com.github.razerdp:BasePopup:2.1.5'
+ //运行时权限管理
+ implementation 'pub.devrel:easypermissions:2.0.1'
+ //时间三级选择
+ implementation 'com.contrarywind:Android-PickerView:4.1.9'
+ //图片缩放
+ implementation 'me.panpf:sketch:2.7.1'
+ implementation 'me.panpf:sketch-gif:2.7.1'
+ //悬浮菜单按钮
+ implementation 'com.github.clans:fab:1.6.4'
+ //视频播放器
+ implementation 'com.github.dueeeke.dkplayer:dkplayer-java:3.2.6'
+ implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:3.2.6'
+
+ implementation 'com.github.ome450901:SimpleRatingBar:1.5.1'
+ implementation 'me.zhanghai.android.materialratingbar:library:1.4.0'
+}
+
diff --git a/Code/Android/projectFirst/app/debug/debug/app-debug.apk b/Code/Android/projectFirst/app/debug/debug/app-debug.apk
new file mode 100644
index 0000000..10ba1bb
Binary files /dev/null and b/Code/Android/projectFirst/app/debug/debug/app-debug.apk differ
diff --git a/Code/Android/projectFirst/app/debug/debug/output.json b/Code/Android/projectFirst/app/debug/debug/output.json
new file mode 100644
index 0000000..740915d
--- /dev/null
+++ b/Code/Android/projectFirst/app/debug/debug/output.json
@@ -0,0 +1,33 @@
+{
+ "version": 2,
+ "artifactType": {
+ "type": "APK",
+ "kind": "Directory"
+ },
+ "applicationId": "com.app.projectfirst",
+ "variantName": "processDebugResources",
+ "elements": [
+ {
+ "type": "SINGLE",
+ "filters": [],
+ "properties": [
+ {
+ "key": "packageId",
+ "value": "com.app.projectfirst"
+ },
+ {
+ "key": "split",
+ "value": ""
+ },
+ {
+ "key": "minSdkVersion",
+ "value": "16"
+ }
+ ],
+ "versionCode": 1,
+ "versionName": "1.0",
+ "enabled": true,
+ "outputFile": "app-debug.apk"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/Code/Android/projectFirst/app/libs/AMap3DMap_7.9.1_AMapNavi_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar b/Code/Android/projectFirst/app/libs/AMap3DMap_7.9.1_AMapNavi_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar
new file mode 100644
index 0000000..03859ab
Binary files /dev/null and b/Code/Android/projectFirst/app/libs/AMap3DMap_7.9.1_AMapNavi_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar differ
diff --git a/Code/Android/projectFirst/app/libs/Amap_2DMap_V6.0.0_20191106.jar b/Code/Android/projectFirst/app/libs/Amap_2DMap_V6.0.0_20191106.jar
new file mode 100644
index 0000000..0e19a31
Binary files /dev/null and b/Code/Android/projectFirst/app/libs/Amap_2DMap_V6.0.0_20191106.jar differ
diff --git a/Code/Android/projectFirst/app/libs/Android_Map3D_SDK_V7.9.1_20210414.jar b/Code/Android/projectFirst/app/libs/Android_Map3D_SDK_V7.9.1_20210414.jar
new file mode 100644
index 0000000..73fda8f
Binary files /dev/null and b/Code/Android/projectFirst/app/libs/Android_Map3D_SDK_V7.9.1_20210414.jar differ
diff --git a/Code/Android/projectFirst/app/libs/commons-lang3-3.7.jar b/Code/Android/projectFirst/app/libs/commons-lang3-3.7.jar
new file mode 100644
index 0000000..f37ded6
Binary files /dev/null and b/Code/Android/projectFirst/app/libs/commons-lang3-3.7.jar differ
diff --git a/Code/Android/projectFirst/app/proguard-rules.pro b/Code/Android/projectFirst/app/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/Code/Android/projectFirst/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/Code/Android/projectFirst/app/src/androidTest/java/com/app/projectfirst/ExampleInstrumentedTest.java b/Code/Android/projectFirst/app/src/androidTest/java/com/app/projectfirst/ExampleInstrumentedTest.java
new file mode 100644
index 0000000..0ee32fd
--- /dev/null
+++ b/Code/Android/projectFirst/app/src/androidTest/java/com/app/projectfirst/ExampleInstrumentedTest.java
@@ -0,0 +1,26 @@
+package com.app.projectfirst;
+
+import android.content.Context;
+
+import androidx.test.ext.junit.runners.AndroidJUnit4;
+import androidx.test.platform.app.InstrumentationRegistry;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import static org.junit.Assert.assertEquals;
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * @see Testing documentation
+ */
+@RunWith(AndroidJUnit4.class)
+public class ExampleInstrumentedTest {
+ @Test
+ public void useAppContext() {
+ // Context of the app under test.
+ Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
+ assertEquals("com.app.projectfirst", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/Code/Android/projectFirst/app/src/main/AndroidManifest.xml b/Code/Android/projectFirst/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..22c27fc
--- /dev/null
+++ b/Code/Android/projectFirst/app/src/main/AndroidManifest.xml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/Android/projectFirst/app/src/main/java/com/app/projectfirst/App.java b/Code/Android/projectFirst/app/src/main/java/com/app/projectfirst/App.java
new file mode 100644
index 0000000..9815ea8
--- /dev/null
+++ b/Code/Android/projectFirst/app/src/main/java/com/app/projectfirst/App.java
@@ -0,0 +1,27 @@
+package com.app.projectfirst;
+
+import android.app.Application;
+import android.content.Context;
+
+import androidx.multidex.MultiDex;
+
+public class App extends Application {
+ private static final String TAG = "App";
+ private static Context mContext;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ mContext = this;
+// startService(new Intent(this, RecordService.class));
+ }
+ @Override
+ protected void attachBaseContext(Context base) {
+ super.attachBaseContext(base);
+// 如果需要使用MultiDex,需要在此处调用。
+ MultiDex.install(this);
+ }
+ public static Context getContext(){
+ return mContext;
+ }
+}
+
diff --git a/Code/Android/projectFirst/app/src/main/java/com/app/projectfirst/activity/BaseActivity.java b/Code/Android/projectFirst/app/src/main/java/com/app/projectfirst/activity/BaseActivity.java
new file mode 100644
index 0000000..2b29e1f
--- /dev/null
+++ b/Code/Android/projectFirst/app/src/main/java/com/app/projectfirst/activity/BaseActivity.java
@@ -0,0 +1,211 @@
+package com.app.projectfirst.activity;
+
+import android.content.Intent;
+import android.os.Build;
+import android.os.Bundle;
+import android.view.Gravity;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import androidx.annotation.Nullable;
+import androidx.appcompat.app.AppCompatActivity;
+
+import com.app.projectfirst.config.AppConfig;
+import com.app.projectfirst.utils.ActivityControl;
+import com.app.projectfirst.utils.GetNetData;
+import com.app.projectfirst.utils.GetValueImpl;
+import com.app.projectfirst.utils.LogUtils;
+import com.app.projectfirst.utils.ToastUtils;
+import com.bumptech.glide.Glide;
+import com.bumptech.glide.util.Util;
+import com.google.gson.Gson;
+import com.google.gson.reflect.TypeToken;
+
+import org.apache.commons.lang3.StringUtils;
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+
+public class BaseActivity extends AppCompatActivity {
+ private boolean isDebug = true;
+ public static int userId;
+ public static String userToken;
+ public static String userStage;
+ public GetValueImpl getValue;
+ public GetNetData getNetData;
+ public ActivityControl activityControl;
+ public final static int TYPE_MIUI = 0;
+ public final static int TYPE_FLYME = 1;
+ public final static int TYPE_M = 3;//6.0
+
+ @Override
+ protected void onCreate(@Nullable Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ activityControl = ActivityControl.getInstance();
+ activityControl.addActivity(this);
+ userId = activityControl.returnUserId(this);
+ userToken = activityControl.returnUserToken(this);
+ userStage = activityControl.returnUserStage(this);
+ getNetData = GetNetData.getInstance();
+ getValue = GetValueImpl.getInstance();
+ }
+
+ @Override
+ protected void onDestroy() {
+ super.onDestroy();
+ ActivityControl.getInstance().removeActivity(this);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
+ if (Util.isOnMainThread() && !isFinishing() && !isDestroyed()) {
+ Glide.with(this).pauseRequests();
+ }
+ } else {
+ if (Util.isOnMainThread() && !isFinishing()) {
+ Glide.with(this).pauseRequests();
+ }
+ }
+ }
+
+ public JSONObject returnRequesJSON(){
+ JSONObject jsonObject = new JSONObject();
+ try {
+ jsonObject.put("token",userToken);
+ } catch (JSONException e) {
+ e.printStackTrace();
+ }
+ return jsonObject;
+ }
+
+
+
+ public void toastShort(String text){
+ try {
+ Toast toast = Toast.makeText(this,text, Toast.LENGTH_SHORT);
+ toast.setGravity(Gravity.CENTER , 0, 0);
+ toast.show();
+ }catch (Exception e){
+ e.printStackTrace();
+ }
+ }
+ public void toastLong(String text){
+ try {
+ Toast toast = Toast.makeText(this,text, Toast.LENGTH_LONG);
+ toast.setGravity(Gravity.CENTER , 0, 0);
+ toast.show();
+ }catch (Exception e){
+ e.printStackTrace();
+ }
+ }
+
+ public void startActivity(Class clazz, boolean isFinish) {
+ if (isFinish) {
+ finish();
+ }
+ startActivity(new Intent(this, clazz));
+ }
+
+ protected void loge(String msg) {
+ if (AppConfig.logShow) {
+ String tag = this.getClass().getName();
+ String tagFinal = tag.substring(tag.lastIndexOf(".")+1,tag.length());
+ LogUtils.e(tagFinal, msg);
+ }
+ }
+ public boolean isEmpty(String str){
+ if (StringUtils.isEmpty(str) || "null".equals(str)){
+ return true;
+ }else {
+ return false;
+ }
+ }
+ public boolean toastEmpty(String str, String msg){
+ if (StringUtils.isEmpty(str)){
+ ToastUtils.toastShort(this,msg);
+ return true;
+ }
+ return false;
+ }
+ public boolean isBlank(String str){
+ return StringUtils.isBlank(str);
+ }
+ public String returnEditText(EditText editText){
+ String str = "";
+ if (editText!=null){
+ str = editText.getText().toString().trim();
+ }
+ return str;
+ }
+ public String returnButton(Button button){
+ String str = "";
+ if (button!=null){
+ str = button.getText().toString().trim();
+ }
+ return str;
+ }
+ public String returnTextViewText(TextView textView){
+ String str = "";
+ if (textView!=null){
+ str = textView.getText().toString().trim();
+ }
+ return str;
+ }
+ public static boolean match(String regex, String str) {
+ Pattern pattern = Pattern.compile(regex);
+ Matcher matcher = pattern.matcher(str);
+ return matcher.matches();
+ }
+ public String objectToJSONString(T o){
+ Gson gson = new Gson();
+ String json = gson.toJson(o);
+ return json;
+ }
+ public String listToJSONString(List list){
+ Gson gson = new Gson();
+ String json = gson.toJson(list);
+ return json;
+ }
+ public String mapToJSONString(HashMap