From 0d72d4cdc241a4b641d3b901b4d06b8a3232120e Mon Sep 17 00:00:00 2001 From: wangh <123456> Date: Thu, 29 Feb 2024 11:32:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=20=E5=8D=8A=E6=88=90?= =?UTF-8?q?=E5=93=81=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + app/src/main/AndroidManifest.xml | 24 ++-- .../jingyuan_mes/base/BaseActivity.java | 2 +- .../jingyuan_mes/check/CheckActivity.java | 16 +++ app/src/main/res/layout/activity_check.xml | 128 ++++++++++++++++++ 5 files changed, 162 insertions(+), 9 deletions(-) create mode 100644 app/src/main/java/com/example/jingyuan_mes/check/CheckActivity.java create mode 100644 app/src/main/res/layout/activity_check.xml diff --git a/.gitignore b/.gitignore index aa724b7..bb035db 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ .externalNativeBuild .cxx local.properties +/release diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b15cf42..f8ad046 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -17,6 +17,9 @@ android:theme="@style/Theme.Jingyuanmes" android:usesCleartextTraffic="true" tools:targetApi="31"> + @@ -38,9 +41,6 @@ - @@ -59,11 +59,13 @@ - - - - + + + + + + + android:exported="true"> + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/example/jingyuan_mes/base/BaseActivity.java b/app/src/main/java/com/example/jingyuan_mes/base/BaseActivity.java index 97824a6..9c5ecba 100644 --- a/app/src/main/java/com/example/jingyuan_mes/base/BaseActivity.java +++ b/app/src/main/java/com/example/jingyuan_mes/base/BaseActivity.java @@ -37,7 +37,7 @@ public class BaseActivity extends AppCompatActivity { super.onCreate(savedInstanceState); Log.e("TAG", this.getLocalClassName() ); gson = new Gson(); - SharedPreferencesUtils.putstring("access_token",handle); + // SharedPreferencesUtils.putstring("access_token",handle); this.context=this; initDialog(); // initSan(); diff --git a/app/src/main/java/com/example/jingyuan_mes/check/CheckActivity.java b/app/src/main/java/com/example/jingyuan_mes/check/CheckActivity.java new file mode 100644 index 0000000..59f1e3d --- /dev/null +++ b/app/src/main/java/com/example/jingyuan_mes/check/CheckActivity.java @@ -0,0 +1,16 @@ +package com.example.jingyuan_mes.check; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; + +import com.example.jingyuan_mes.R; + +public class CheckActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_check); + } +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_check.xml b/app/src/main/res/layout/activity_check.xml new file mode 100644 index 0000000..bd0b6fe --- /dev/null +++ b/app/src/main/res/layout/activity_check.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file