diff --git a/src/MyApplication/app/src/MyApplication/.gitignore b/src/MyApplication/app/src/MyApplication/.gitignore
new file mode 100644
index 0000000..aa724b7
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.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/src/MyApplication/app/src/MyApplication/.idea/.gitignore b/src/MyApplication/app/src/MyApplication/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/src/MyApplication/app/src/MyApplication/.idea/.name b/src/MyApplication/app/src/MyApplication/.idea/.name
new file mode 100644
index 0000000..b3405b3
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/.name
@@ -0,0 +1 @@
+My Application
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/.idea/compiler.xml b/src/MyApplication/app/src/MyApplication/.idea/compiler.xml
new file mode 100644
index 0000000..fb7f4a8
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/compiler.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/.idea/gradle.xml b/src/MyApplication/app/src/MyApplication/.idea/gradle.xml
new file mode 100644
index 0000000..a2d7c21
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/gradle.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/.idea/misc.xml b/src/MyApplication/app/src/MyApplication/.idea/misc.xml
new file mode 100644
index 0000000..bdd9278
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/misc.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/.idea/render.experimental.xml b/src/MyApplication/app/src/MyApplication/.idea/render.experimental.xml
new file mode 100644
index 0000000..8ec256a
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/render.experimental.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/.idea/vcs.xml b/src/MyApplication/app/src/MyApplication/.idea/vcs.xml
new file mode 100644
index 0000000..b2bdec2
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/app/.gitignore b/src/MyApplication/app/src/MyApplication/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/app/.idea/.gitignore b/src/MyApplication/app/src/MyApplication/app/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/src/MyApplication/app/src/MyApplication/app/.idea/gradle.xml b/src/MyApplication/app/src/MyApplication/app/.idea/gradle.xml
new file mode 100644
index 0000000..f22a539
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/.idea/gradle.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/app/.idea/misc.xml b/src/MyApplication/app/src/MyApplication/app/.idea/misc.xml
new file mode 100644
index 0000000..6ff4d26
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/.idea/misc.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/app/.idea/vcs.xml b/src/MyApplication/app/src/MyApplication/app/.idea/vcs.xml
new file mode 100644
index 0000000..c2365ab
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/app/build.gradle b/src/MyApplication/app/src/MyApplication/app/build.gradle
new file mode 100644
index 0000000..8e64d7a
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/build.gradle
@@ -0,0 +1,56 @@
+plugins {
+ id 'com.android.application'
+}
+
+android {
+ namespace 'com.example.myapplication'
+ compileSdk 32
+
+ defaultConfig {
+ applicationId "com.example.myapplication"
+ minSdk 19
+ targetSdk 32
+ versionCode 1
+ versionName "1.0"
+
+ 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'
+ }
+ }
+ sourceSets {
+ main{
+ jniLibs.srcDirs=['libs']
+ }
+
+
+
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+}
+
+dependencies {
+
+ implementation 'androidx.appcompat:appcompat:1.5.1'
+ implementation 'com.google.android.material:material:1.6.1'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ implementation 'com.baidu.lbsyun:BaiduMapSDK_Map-AllNavi:7.4.0'
+ //implementation files('libs\\BaiduLBS_Android.jar')
+ //implementation files('libs\\BaiduLBS_Android.jar')
+ //implementation files('libs\\BaiduLBS_Android.jar')
+ // implementation files('libs\\BaiduLBS_Android.jar')
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
+}
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/BaiduLBS_Android.jar b/src/MyApplication/app/src/MyApplication/app/libs/BaiduLBS_Android.jar
new file mode 100644
index 0000000..591f5f4
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/BaiduLBS_Android.jar differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libBaiduMapSDK_base_v7_5_3.so b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libBaiduMapSDK_base_v7_5_3.so
new file mode 100644
index 0000000..2935c4c
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libBaiduMapSDK_base_v7_5_3.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libgnustl_shared.so b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libgnustl_shared.so
new file mode 100644
index 0000000..be99b75
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libgnustl_shared.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libindoor.so b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libindoor.so
new file mode 100644
index 0000000..bfb6f75
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/libindoor.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/liblocSDK8b.so b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/liblocSDK8b.so
new file mode 100644
index 0000000..9bd868a
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/arm64-v8a/liblocSDK8b.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libBaiduMapSDK_base_v7_5_3.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libBaiduMapSDK_base_v7_5_3.so
new file mode 100644
index 0000000..9aab5e6
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libBaiduMapSDK_base_v7_5_3.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libgnustl_shared.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libgnustl_shared.so
new file mode 100644
index 0000000..96c22a2
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libgnustl_shared.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libindoor.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libindoor.so
new file mode 100644
index 0000000..b59be91
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/libindoor.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/liblocSDK8b.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/liblocSDK8b.so
new file mode 100644
index 0000000..aa90e76
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi-v7a/liblocSDK8b.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libBaiduMapSDK_base_v7_5_3.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libBaiduMapSDK_base_v7_5_3.so
new file mode 100644
index 0000000..373e67f
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libBaiduMapSDK_base_v7_5_3.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libgnustl_shared.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libgnustl_shared.so
new file mode 100644
index 0000000..5cf6d20
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libgnustl_shared.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libindoor.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libindoor.so
new file mode 100644
index 0000000..a0879cf
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/libindoor.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/armeabi/liblocSDK8b.so b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/liblocSDK8b.so
new file mode 100644
index 0000000..4083291
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/armeabi/liblocSDK8b.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86/libBaiduMapSDK_base_v7_5_3.so b/src/MyApplication/app/src/MyApplication/app/libs/x86/libBaiduMapSDK_base_v7_5_3.so
new file mode 100644
index 0000000..5554ff8
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86/libBaiduMapSDK_base_v7_5_3.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86/libgnustl_shared.so b/src/MyApplication/app/src/MyApplication/app/libs/x86/libgnustl_shared.so
new file mode 100644
index 0000000..1eae31c
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86/libgnustl_shared.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86/libindoor.so b/src/MyApplication/app/src/MyApplication/app/libs/x86/libindoor.so
new file mode 100644
index 0000000..1de0a2c
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86/libindoor.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86/liblocSDK8b.so b/src/MyApplication/app/src/MyApplication/app/libs/x86/liblocSDK8b.so
new file mode 100644
index 0000000..ca234f1
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86/liblocSDK8b.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libBaiduMapSDK_base_v7_5_3.so b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libBaiduMapSDK_base_v7_5_3.so
new file mode 100644
index 0000000..a1c0b4b
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libBaiduMapSDK_base_v7_5_3.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libgnustl_shared.so b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libgnustl_shared.so
new file mode 100644
index 0000000..0149273
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libgnustl_shared.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libindoor.so b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libindoor.so
new file mode 100644
index 0000000..80a00c6
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/libindoor.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/libs/x86_64/liblocSDK8b.so b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/liblocSDK8b.so
new file mode 100644
index 0000000..ff464c5
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/app/libs/x86_64/liblocSDK8b.so differ
diff --git a/src/MyApplication/app/src/MyApplication/app/proguard-rules.pro b/src/MyApplication/app/src/MyApplication/app/proguard-rules.pro
new file mode 100644
index 0000000..25c3acd
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/proguard-rules.pro
@@ -0,0 +1,39 @@
+# 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
+
+#-dontoptimize
+#-ignorewarnings
+#-keeppackagenames com.baidu.**
+#-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,LocalVariable*Table,*Annotation*,Synthetic,EnclosingMethod
+
+#-dontwarn com.baidu.**
+#-dontwarn com.baidu.navisdk.**
+#-dontwarn com.baidu.navi.**
+
+#-keep class com.baidu.** { *; }
+#-keep interface com.baidu.** { *; }
+
+#-keep class vi.com.gdi.** { *; }
+
+#-dontwarn com.google.protobuf.**
+#-keep class com.google.protobuf.** { *;}
+#-keep interface com.google.protobuf.** { *;}
diff --git a/src/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java b/src/MyApplication/app/src/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java
similarity index 100%
rename from src/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java
rename to src/MyApplication/app/src/MyApplication/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java
diff --git a/src/MyApplication/app/src/main/AndroidManifest.xml b/src/MyApplication/app/src/MyApplication/app/src/main/AndroidManifest.xml
similarity index 57%
rename from src/MyApplication/app/src/main/AndroidManifest.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/AndroidManifest.xml
index 2176ae7..d7321f2 100644
--- a/src/MyApplication/app/src/main/AndroidManifest.xml
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/AndroidManifest.xml
@@ -1,6 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -53,25 +94,6 @@
android:name="android.app.lib_name"
android:value="" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java
similarity index 100%
rename from src/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java
rename to src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/MainActivity.java
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/MapActivity1.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/MapActivity1.java
new file mode 100644
index 0000000..0318a11
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/MapActivity1.java
@@ -0,0 +1,37 @@
+package com.example.myapplication;
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.annotation.SuppressLint;
+import android.os.Bundle;
+import com.baidu.mapapi.SDKInitializer;
+import com.baidu.mapapi.map.MapView;
+
+public class MapActivity1 extends AppCompatActivity {
+ private MapView mMapView = null;
+ @SuppressLint("MissingInflatedId")
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ SDKInitializer.initialize(getApplicationContext());
+ setContentView(R.layout.activity_map1);
+ mMapView= (MapView) findViewById(R.id.bmapview);
+ }
+ @Override
+ protected void onResume() {
+ super.onResume();
+ //在activity执行onResume时执行mMapView. onResume (),实现地图生命周期管理
+ mMapView.onResume();
+ }
+ @Override
+ protected void onPause() {
+ super.onPause();
+ //在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
+ mMapView.onPause();
+ }
+ @Override
+ protected void onDestroy() {
+ super.onDestroy();
+ //在activity执行onDestroy时执行mMapView.onDestroy(),实现地图生命周期管理
+ mMapView.onDestroy();
+ }
+}
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/WNaviGuideActivity.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/WNaviGuideActivity.java
new file mode 100644
index 0000000..7c5555a
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/WNaviGuideActivity.java
@@ -0,0 +1,229 @@
+package com.example.myapplication;
+import android.app.Activity;
+import android.content.Intent;
+import android.content.pm.PackageManager;
+import android.graphics.drawable.Drawable;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.Message;
+import android.util.Log;
+import android.view.View;
+import android.widget.Toast;
+
+import androidx.annotation.NonNull;
+
+import com.baidu.mapapi.walknavi.WalkNavigateHelper;
+import com.baidu.mapapi.walknavi.adapter.IWNaviStatusListener;
+import com.baidu.mapapi.walknavi.adapter.IWRouteGuidanceListener;
+import com.baidu.mapapi.walknavi.adapter.IWTTSPlayer;
+import com.baidu.mapapi.walknavi.model.RouteGuideKind;
+import com.baidu.platform.comapi.walknavi.WalkNaviModeSwitchListener;
+import com.baidu.platform.comapi.walknavi.widget.ArCameraView;
+
+public class WNaviGuideActivity extends Activity {
+ private final static String TAG = WNaviGuideActivity.class.getSimpleName();
+
+ private WalkNavigateHelper mNaviHelper;
+
+ private boolean isPreSPEAKtotal = true;
+ private String orient = "";
+
+ @Override
+ protected void onDestroy() {
+ super.onDestroy();
+ mNaviHelper.quit();
+ }
+
+ @Override
+ protected void onResume() {
+ super.onResume();
+ mNaviHelper.resume();
+ }
+
+ @Override
+ protected void onPause() {
+ super.onPause();
+ mNaviHelper.pause();
+ }
+
+
+ Handler handler = new Handler() {
+ @Override
+ public void handleMessage(Message msg) {
+ super.handleMessage(msg);
+ if (msg.what == 0x001) {
+ ChangeState();
+ handler.sendEmptyMessageDelayed(0x001, 45000);
+ }
+ if (msg.what == 0x002) {
+ handler.sendEmptyMessageDelayed(0x002, 30000);
+ }
+ if (msg.what == 0x003) {
+
+ startActivity(new Intent(WNaviGuideActivity.this, MainActivity.class));
+ }
+ }
+ };
+
+ private void ChangeState() {
+ isPreSPEAKtotal = true;
+ }
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ mNaviHelper = WalkNavigateHelper.getInstance();
+ try {
+ View view = mNaviHelper.onCreate(WNaviGuideActivity.this);
+ if (view != null) {
+ setContentView(view);
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ //设置步行导航状态监听
+ mNaviHelper.setWalkNaviStatusListener(new IWNaviStatusListener() {
+ @Override
+ public void onWalkNaviModeChange(int mode, WalkNaviModeSwitchListener listener) {
+ Log.d("======", "onWalkNaviModeChange : " + mode);
+ mNaviHelper.switchWalkNaviMode(WNaviGuideActivity.this, mode, listener);
+ }
+
+ /* @Description: 这个是在退出导航时自动调用的方法,在这里要把对象进行释放,避免空对象的产生
+ * @Author: LiY ue
+ */
+ @Override
+ public void onNaviExit() {
+ Log.d("======", "onNaviExit");
+ handler.removeMessages(0x001);
+ handler.removeMessages(0x002);
+ handler.removeMessages(0x003);
+ }
+ });
+
+
+ mNaviHelper.setTTsPlayer(new IWTTSPlayer() {
+ @Override
+ public int playTTSText(final String s, boolean b) {
+ Log.d(TAG, "tts: " + s);
+ return 0;
+ }
+ });
+
+
+ boolean startResult = mNaviHelper.startWalkNavi(WNaviGuideActivity.this);
+ Log.e(TAG, "startWalkNavi result : " + startResult);
+ //设置路线指引监听
+ mNaviHelper.setRouteGuidanceListener(this, new
+
+ IWRouteGuidanceListener() {
+
+ @Override
+ public void onRouteGuideIconUpdate(Drawable icon) {
+
+ }
+
+ @Override
+ public void onRouteGuideKind(RouteGuideKind routeGuideKind) {
+ Log.d("======", "onRouteGuideKind: " + routeGuideKind);
+ if (routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_PassRoad_Left || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_PassRoad_Right || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_Right_PassRoad_Front || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_Right_PassRoad_UTurn)
+
+ if (routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_RightDiagonal_PassRoad_Front || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_RightDiagonal_PassRoad_Left || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_RightDiagonal_PassRoad_Left_Front || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_RightDiagonal_PassRoad_Right || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_RightDiagonal_PassRoad_Right_Back || routeGuideKind == RouteGuideKind.NE_Maneuver_Kind_RightDiagonal_PassRoad_Right_Front){
+ Log.d("========", "onRouteGuideKind: aaaaaa");
+ }
+
+ }
+
+ /**
+ * @Description: 诱导信息
+ */
+ @Override
+ public void onRoadGuideTextUpdate(CharSequence charSequence, CharSequence
+ charSequence1) {
+ Log.d(TAG, "onRoadGuideTextUpdate charSequence=: " + charSequence + " charSequence1 = : " +
+ charSequence1);
+ orient = charSequence.toString() + charSequence1.toString();
+
+ }
+
+
+ @Override
+ public void onRemainDistanceUpdate(CharSequence charSequence) {
+ Log.d(TAG, "onRemainDistanceUpdate: charSequence = :" + charSequence);
+ if (isPreSPEAKtotal) {
+ }
+ }
+
+
+ @Override
+ public void onRemainTimeUpdate(CharSequence charSequence) {
+ Log.d(TAG, "onRemainTimeUpdate: charSequence = :" + charSequence);
+ if (isPreSPEAKtotal) {
+ isPreSPEAKtotal = false;
+ }
+ }
+
+
+ @Override
+ public void onGpsStatusChange(CharSequence charSequence, Drawable drawable) {
+ Log.d(TAG, "onGpsStatusChange: charSequence = :" + charSequence);
+
+ }
+
+
+ @Override
+ public void onRouteFarAway(CharSequence charSequence, Drawable drawable) {
+ Log.d(TAG, "onRouteFarAway: charSequence = :" + charSequence);
+ }
+
+
+ @Override
+ public void onRoutePlanYawing(CharSequence charSequence, Drawable drawable) {
+ Log.d(TAG, "onRoutePlanYawing: charSequence = :" + charSequence);
+
+ }
+
+
+ @Override
+ public void onReRouteComplete() {
+ }
+
+ @Override
+ public void onArriveDest() {
+ handler.sendEmptyMessageDelayed(0x003, 6000);
+ }
+
+ @Override
+ public void onIndoorEnd(Message msg) {
+
+ }
+
+ @Override
+ public void onFinalEnd(Message msg) {
+
+ }
+
+ @Override
+ public void onVibrate() {
+
+ }
+ });
+ handler.sendEmptyMessage(0x001);
+ handler.sendEmptyMessage(0x002);
+ }
+
+ @Override
+ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions,
+ int[] grantResults) {
+ super.onRequestPermissionsResult(requestCode, permissions, grantResults);
+ if (requestCode == ArCameraView.WALK_AR_PERMISSION) {
+ if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_DENIED) {
+ Toast.makeText(WNaviGuideActivity.this, "没有相机权限,请打开后重试", Toast.LENGTH_SHORT).show();
+ } else if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
+ mNaviHelper.startCameraAndSetMapView(WNaviGuideActivity.this);
+ }
+ }
+ }
+}
+
+
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/itemfound.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/itemfound.java
new file mode 100644
index 0000000..232730e
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/itemfound.java
@@ -0,0 +1,224 @@
+package com.example.myapplication;
+
+import androidx.appcompat.app.AppCompatActivity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+
+import com.baidu.mapapi.bikenavi.BikeNavigateHelper;
+import com.baidu.mapapi.walknavi.adapter.IWRoutePlanListener;
+import com.baidu.mapapi.walknavi.model.WalkRoutePlanError;
+import com.baidu.mapapi.walknavi.params.*;
+import com.baidu.mapapi.CoordType;
+import com.baidu.mapapi.SDKInitializer;
+import com.baidu.mapapi.model.LatLng;
+import java.util.ArrayList;
+import java.util.List;
+
+import android.widget.ImageButton;
+import android.widget.TextView;
+import android.annotation.SuppressLint;
+import android.os.Bundle;
+import com.baidu.baidunavis.BaiduNaviParams;
+import com.baidu.mapapi.SDKInitializer;
+import com.baidu.mapapi.map.MapView;
+import com.baidu.mapapi.model.LatLng;
+import com.baidu.mapapi.walknavi.WalkNavigateHelper;
+import com.baidu.mapapi.walknavi.adapter.IWEngineInitListener;
+import com.baidu.mapapi.walknavi.params.WalkNaviLaunchParam;
+
+public class itemfound extends AppCompatActivity {
+ private WalkNavigateHelper helper = null;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ //initPermissions(); // 初始化权限
+ setContentView(R.layout.activity_itemfound); // 填充视图
+
+ // 点击按钮开始导航
+ Button imageButton = findViewById(R.id.button_item_keys);
+ imageButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ // 初始化步行导航
+ startBikeNavi();
+ }
+ });
+ Button imageButtonwallet = findViewById(R.id.button_item_wallet);
+ imageButtonwallet.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ // 初始化步行导航
+ startBikeNavi();
+ }
+ });
+ }
+ // 初始化权限
+ /*
+ private void initPermissions() {
+ if (Build.VERSION.SDK_INT >= 23) {
+ ArrayList permissionsList = new ArrayList<>();
+ String[] permissions = {
+ Manifest.permission.ACCESS_NETWORK_STATE,
+ Manifest.permission.INTERNET,
+ Manifest.permission.ACCESS_COARSE_LOCATION,
+ Manifest.permission.ACCESS_FINE_LOCATION,
+ Manifest.permission.WRITE_EXTERNAL_STORAGE,
+ };
+
+ for (String perm : permissions) {
+ if (PackageManager.PERMISSION_GRANTED != checkSelfPermission(perm)) {
+ permissionsList.add(perm);
+ // 进入到这里代表没有权限.
+ }
+ if (!permissionsList.isEmpty()) {
+ String[] strings = new String[permissionsList.size()];
+ requestPermissions(permissionsList.toArray(strings), 0);
+ }
+ }
+
+ }
+ }*/
+ private void startBikeNavi() {
+ //Log.d("=========", "startBikeNavi");
+ try {
+ helper = WalkNavigateHelper.getInstance();
+ helper.initNaviEngine(this, new IWEngineInitListener() {
+ @Override
+ public void engineInitSuccess() {
+ // Log.d("=========", "BikeNavi engineInitSuccess引擎初始化成功");
+ startWebNavi();
+ }
+
+ @Override
+ public void engineInitFail() {
+ // Log.d("=========", "BikeNavi engineInitFail");
+ BikeNavigateHelper.getInstance().unInitNaviEngine();
+ }
+ });
+ } catch (Exception e) {
+ // Log.d("=========", "startBikeNavi Exception");
+ e.printStackTrace();
+ }
+ }
+ private void startWebNavi() {
+ //起终点位置
+ LatLng walkStartNode = new LatLng(39.110132, 117.358512);
+ LatLng walkEndNode = new LatLng(39.111348, 117.358940);
+
+ WalkRouteNodeInfo startNode = new WalkRouteNodeInfo();
+ startNode.setLocation(walkStartNode);
+ WalkRouteNodeInfo endNode = new WalkRouteNodeInfo();
+ endNode.setLocation(walkEndNode);
+ // 官网
+ //构造WalkNaviLaunchParam
+ WalkNaviLaunchParam walkParam = new WalkNaviLaunchParam().startNodeInfo(startNode).endNodeInfo(endNode);
+ //获取WalkNavigateHelper实例 //发起算路
+ helper.routePlanWithRouteNode(walkParam, new IWRoutePlanListener() {
+ @Override
+ public void onRoutePlanStart() {
+ // Log.d("=======", "WalkNavi onRoutePlanStart开始步行导航");
+ }
+
+ @Override
+ public void onRoutePlanSuccess() {
+ // Log.d("========", "onRoutePlanSuccess算路成功");
+ Intent intent = new Intent(itemfound.this,WNaviGuideActivity.class);
+ // intent.setClass(getContext(), WNaviGuideActivity.class);
+ startActivity(intent);
+ }
+
+ @Override
+ public void onRoutePlanFail(WalkRoutePlanError error) {
+// Log.d("Walk", "WalkNavi onRoutePlanFail");
+ }
+
+ });
+ }
+
+
+/*
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_itemfound);
+ Button find_wallet=findViewById(R.id.button_item_wallet);
+ Button find_keys=findViewById(R.id.button_item_keys);
+ find_wallet.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {//Intent
+ double locationX;
+ double locationy;
+ //BaiduMapNavigation
+
+
+ }
+ });
+ find_keys.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {//Intent
+ //NaviParaOption para=new Navi();
+
+ }
+ });
+ }*/ private void startBikeNavi1() {
+ //Log.d("=========", "startBikeNavi");
+ try {
+ helper = WalkNavigateHelper.getInstance();
+ helper.initNaviEngine(this, new IWEngineInitListener() {
+ @Override
+ public void engineInitSuccess() {
+ // Log.d("=========", "BikeNavi engineInitSuccess引擎初始化成功");
+ startWebNavi1();
+ }
+
+ @Override
+ public void engineInitFail() {
+ // Log.d("=========", "BikeNavi engineInitFail");
+ BikeNavigateHelper.getInstance().unInitNaviEngine();
+ }
+ });
+ } catch (Exception e) {
+ // Log.d("=========", "startBikeNavi Exception");
+ e.printStackTrace();
+ }
+}
+ private void startWebNavi1() {
+ //起终点位置
+ LatLng walkStartNode = new LatLng(39.110132, 117.358512);
+ LatLng walkEndNode = new LatLng(39.112286, 117.359619);
+
+ WalkRouteNodeInfo startNode = new WalkRouteNodeInfo();
+ startNode.setLocation(walkStartNode);
+ WalkRouteNodeInfo endNode = new WalkRouteNodeInfo();
+ endNode.setLocation(walkEndNode);
+ // 官网
+ //构造WalkNaviLaunchParam
+ WalkNaviLaunchParam walkParam = new WalkNaviLaunchParam().startNodeInfo(startNode).endNodeInfo(endNode);
+ //获取WalkNavigateHelper实例 //发起算路
+ helper.routePlanWithRouteNode(walkParam, new IWRoutePlanListener() {
+ @Override
+ public void onRoutePlanStart() {
+ // Log.d("=======", "WalkNavi onRoutePlanStart开始步行导航");
+ }
+
+ @Override
+ public void onRoutePlanSuccess() {
+ // Log.d("========", "onRoutePlanSuccess算路成功");
+ Intent intent = new Intent(itemfound.this,WNaviGuideActivity.class);
+ // intent.setClass(getContext(), WNaviGuideActivity.class);
+ startActivity(intent);
+ }
+
+ @Override
+ public void onRoutePlanFail(WalkRoutePlanError error) {
+// Log.d("Walk", "WalkNavi onRoutePlanFail");
+ }
+
+ });
+ }
+}
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/jiankang.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/jiankang.java
similarity index 100%
rename from src/MyApplication/app/src/main/java/com/example/myapplication/jiankang.java
rename to src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/jiankang.java
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/yijiantong.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/yijiantong.java
similarity index 99%
rename from src/MyApplication/app/src/main/java/com/example/myapplication/yijiantong.java
rename to src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/yijiantong.java
index fd66dfe..9d63f32 100644
--- a/src/MyApplication/app/src/main/java/com/example/myapplication/yijiantong.java
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/yijiantong.java
@@ -62,7 +62,7 @@ public class yijiantong extends AppCompatActivity {
startActivity(intent);
}
- });[]
+ });
Button button5=findViewById(R.id.button5);
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/yuyin.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/yuyin.java
similarity index 100%
rename from src/MyApplication/app/src/main/java/com/example/myapplication/yuyin.java
rename to src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/yuyin.java
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/zhaoxun.java b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/zhaoxun.java
new file mode 100644
index 0000000..9853f8c
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/java/com/example/myapplication/zhaoxun.java
@@ -0,0 +1,41 @@
+package com.example.myapplication;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Intent;
+import android.net.Uri;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.Button;
+import android.widget.Toast;
+
+public class zhaoxun extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_zhaoxun);
+ Button buttonitem=findViewById(R.id.myitem);
+ Button buttonmap=findViewById(R.id.map);
+ buttonitem.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {//Intent
+ /* Toast.makeText(zhaoxun.this,"正在打开地图",Toast.LENGTH_SHORT).show();
+ Intent intent=new Intent(zhaoxun.this,MapActivity1.class);
+ startActivity(intent);*/
+ Intent intent=new Intent(zhaoxun.this,itemfound.class);
+ startActivity(intent);
+ }
+ });
+ buttonmap.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {//Intent
+ Toast.makeText(zhaoxun.this,"正在打开地图",Toast.LENGTH_SHORT).show();
+ Intent intent=new Intent(zhaoxun.this,MapActivity1.class);
+ startActivity(intent);
+
+ }
+ });
+
+ }
+}
\ No newline at end of file
diff --git a/src/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
diff --git a/src/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/drawable/ic_launcher_background.xml
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_itemfound.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_itemfound.xml
new file mode 100644
index 0000000..edcf166
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_itemfound.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/MyApplication/app/src/main/res/layout/activity_jiankang.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_jiankang.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/layout/activity_jiankang.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_jiankang.xml
diff --git a/src/MyApplication/app/src/main/res/layout/activity_main.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_main.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/layout/activity_main.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_main.xml
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_map1.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_map1.xml
new file mode 100644
index 0000000..556607b
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_map1.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
diff --git a/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_wnavi_guide.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_wnavi_guide.xml
new file mode 100644
index 0000000..cc26e01
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_wnavi_guide.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/MyApplication/app/src/main/res/layout/activity_yijiantong.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_yijiantong.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/layout/activity_yijiantong.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_yijiantong.xml
diff --git a/src/MyApplication/app/src/main/res/layout/activity_yuyin.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_yuyin.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/layout/activity_yuyin.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_yuyin.xml
diff --git a/src/MyApplication/app/src/main/res/layout/activity_zhaoxun.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_zhaoxun.xml
similarity index 75%
rename from src/MyApplication/app/src/main/res/layout/activity_zhaoxun.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_zhaoxun.xml
index e0f133d..2555b41 100644
--- a/src/MyApplication/app/src/main/res/layout/activity_zhaoxun.xml
+++ b/src/MyApplication/app/src/MyApplication/app/src/main/res/layout/activity_zhaoxun.xml
@@ -5,21 +5,19 @@
android:orientation="vertical">
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
diff --git a/src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
diff --git a/src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
diff --git a/src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
similarity index 100%
rename from src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
diff --git a/src/MyApplication/app/src/main/res/values-night/themes.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/values-night/themes.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/values-night/themes.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/values-night/themes.xml
diff --git a/src/MyApplication/app/src/main/res/values/colors.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/values/colors.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/values/colors.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/values/colors.xml
diff --git a/src/MyApplication/app/src/main/res/values/strings.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/values/strings.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/values/strings.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/values/strings.xml
diff --git a/src/MyApplication/app/src/main/res/values/themes.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/values/themes.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/values/themes.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/values/themes.xml
diff --git a/src/MyApplication/app/src/main/res/xml/backup_rules.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/xml/backup_rules.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/xml/backup_rules.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/xml/backup_rules.xml
diff --git a/src/MyApplication/app/src/main/res/xml/data_extraction_rules.xml b/src/MyApplication/app/src/MyApplication/app/src/main/res/xml/data_extraction_rules.xml
similarity index 100%
rename from src/MyApplication/app/src/main/res/xml/data_extraction_rules.xml
rename to src/MyApplication/app/src/MyApplication/app/src/main/res/xml/data_extraction_rules.xml
diff --git a/src/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java b/src/MyApplication/app/src/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
similarity index 100%
rename from src/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
rename to src/MyApplication/app/src/MyApplication/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
diff --git a/src/MyApplication/app/src/MyApplication/build.gradle b/src/MyApplication/app/src/MyApplication/build.gradle
new file mode 100644
index 0000000..90f9008
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/build.gradle
@@ -0,0 +1,5 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+plugins {
+ id 'com.android.application' version '7.3.0' apply false
+ id 'com.android.library' version '7.3.0' apply false
+}
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/gradle.properties b/src/MyApplication/app/src/MyApplication/gradle.properties
new file mode 100644
index 0000000..d6b8937
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/gradle.properties
@@ -0,0 +1,24 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app's APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+android.enableJetifier=true
+# Enables namespacing of each library's R class so that its R class includes only the
+# resources declared in the library itself and none from the library's dependencies,
+# thereby reducing the size of the R class for that library
+android.nonTransitiveRClass=true
+# ???gradle.properties?????????
+#???????????????????androidX???????
\ No newline at end of file
diff --git a/src/MyApplication/app/src/MyApplication/gradle/wrapper/gradle-wrapper.jar b/src/MyApplication/app/src/MyApplication/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..e708b1c
Binary files /dev/null and b/src/MyApplication/app/src/MyApplication/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/src/MyApplication/app/src/MyApplication/gradle/wrapper/gradle-wrapper.properties b/src/MyApplication/app/src/MyApplication/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..a4646a3
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Mon Oct 03 10:56:04 CST 2022
+distributionBase=GRADLE_USER_HOME
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
+distributionPath=wrapper/dists
+zipStorePath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
diff --git a/src/MyApplication/app/src/MyApplication/gradlew b/src/MyApplication/app/src/MyApplication/gradlew
new file mode 100644
index 0000000..4f906e0
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/src/MyApplication/app/src/MyApplication/gradlew.bat b/src/MyApplication/app/src/MyApplication/gradlew.bat
new file mode 100644
index 0000000..107acd3
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/src/MyApplication/app/src/MyApplication/settings.gradle b/src/MyApplication/app/src/MyApplication/settings.gradle
new file mode 100644
index 0000000..f727bcc
--- /dev/null
+++ b/src/MyApplication/app/src/MyApplication/settings.gradle
@@ -0,0 +1,16 @@
+pluginManagement {
+ repositories {
+ gradlePluginPortal()
+ google()
+ mavenCentral()
+ }
+}
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+rootProject.name = "My Application"
+include ':app'
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/PhoneDto.java b/src/MyApplication/app/src/main/java/com/example/myapplication/PhoneDto.java
deleted file mode 100644
index 59f0775..0000000
--- a/src/MyApplication/app/src/main/java/com/example/myapplication/PhoneDto.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package com.example.myapplication;
-public class PhoneDto {
- private String id; //序号
- private String name; //联系人姓名
- private String telPhone; //电话号码
-
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getTelPhone() {
- return telPhone;
- }
-
- public void setTelPhone(String telPhone) {
- this.telPhone = telPhone;
- }
-
- public String getId() {
- return id;
- }
-
- public void setId(String id) {
- this.id = id;
- }
-
- public PhoneDto() {
- }
-
- public PhoneDto(String id, String name, String telPhone) {
- this.id = id;
- this.name = name;
- this.telPhone = telPhone;
- }
-}
\ No newline at end of file
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/PhoneUtil.java b/src/MyApplication/app/src/main/java/com/example/myapplication/PhoneUtil.java
deleted file mode 100644
index d94ecdc..0000000
--- a/src/MyApplication/app/src/main/java/com/example/myapplication/PhoneUtil.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package com.example.myapplication;
-import android.annotation.SuppressLint;
-import android.content.ContentResolver;
-import android.content.Context;
-import android.database.Cursor;
-import android.net.Uri;
-import android.provider.ContactsContract;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class PhoneUtil {
- //序号
- public final static String ID = ContactsContract.CommonDataKinds.Phone.CONTACT_ID;
- // 号码
- public final static String NUM = ContactsContract.CommonDataKinds.Phone.NUMBER;
- // 联系人姓名
- public final static String NAME = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME;
-//
- //上下文对象
- private Context context;
- //联系人提供者的uri
- private Uri phoneUri = ContactsContract.CommonDataKinds.Phone.CONTENT_URI;
-
- public PhoneUtil(Context context) {
- this.context = context;
- }
-
- //获取所有联系人
- public List getPhone() {
- List phoneDtos = new ArrayList<>();
- ContentResolver cr = context.getContentResolver();
- Cursor cursor = cr.query(phoneUri, new String[]{ID, NUM, NAME}, null, null, null);
- while (cursor.moveToNext()) {
- @SuppressLint("Range") PhoneDto phoneDto = new PhoneDto(cursor.getString(cursor.getColumnIndex(ID)), cursor.getString(cursor.getColumnIndex(NAME)), cursor.getString(cursor.getColumnIndex(NUM)));
- phoneDtos.add(phoneDto);
- }
- return phoneDtos;
- }
-}
\ No newline at end of file
diff --git a/src/MyApplication/app/src/main/java/com/example/myapplication/zhaoxun.java b/src/MyApplication/app/src/main/java/com/example/myapplication/zhaoxun.java
deleted file mode 100644
index b6d7d46..0000000
--- a/src/MyApplication/app/src/main/java/com/example/myapplication/zhaoxun.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.example.myapplication;
-
-import androidx.appcompat.app.AppCompatActivity;
-
-import android.os.Bundle;
-
-public class zhaoxun extends AppCompatActivity {
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_zhaoxun);
- }
-}
\ No newline at end of file