From b0e96f2f5b673e2cb20f28c865954226852c34b4 Mon Sep 17 00:00:00 2001 From: zcjzzf <2268303279@qq.com> Date: Tue, 13 Oct 2020 10:58:22 +0800 Subject: [PATCH 1/4] =?UTF-8?q?#1=20#407=20=E7=AC=AC1=E6=AC=A1=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../edu/hzuapps/net1814080903214/StartActivity.java | 0 students/net1814080903214/.idea/gradle.xml | 12 ++++++++++++ students/net1814080903214/.idea/vcs.xml | 6 ++++++ .../net1814080903214/Net1814080903214Activity.java | 7 +++++++ 4 files changed, 25 insertions(+) create mode 100644 students/Net18140809032142/app/src/main/java/edu/hzuapps/net1814080903214/StartActivity.java create mode 100644 students/net1814080903214/.idea/gradle.xml create mode 100644 students/net1814080903214/.idea/vcs.xml create mode 100644 students/net1814080903214/Net1814080903214Activity.java diff --git a/students/Net18140809032142/app/src/main/java/edu/hzuapps/net1814080903214/StartActivity.java b/students/Net18140809032142/app/src/main/java/edu/hzuapps/net1814080903214/StartActivity.java new file mode 100644 index 000000000..e69de29bb diff --git a/students/net1814080903214/.idea/gradle.xml b/students/net1814080903214/.idea/gradle.xml new file mode 100644 index 000000000..76a4349cf --- /dev/null +++ b/students/net1814080903214/.idea/gradle.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/students/net1814080903214/.idea/vcs.xml b/students/net1814080903214/.idea/vcs.xml new file mode 100644 index 000000000..b2bdec2d7 --- /dev/null +++ b/students/net1814080903214/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/students/net1814080903214/Net1814080903214Activity.java b/students/net1814080903214/Net1814080903214Activity.java new file mode 100644 index 000000000..165cfa53e --- /dev/null +++ b/students/net1814080903214/Net1814080903214Activity.java @@ -0,0 +1,7 @@ +package Net1814080903214; + +public class Net1814080903214Activity { + static public void main(String[] args){ + System.out.println("开始游戏"); + } +} From 4a9491ab8450afa87b624983b49d7acfd6486f23 Mon Sep 17 00:00:00 2001 From: zcjzzf <2268303279@qq.com> Date: Tue, 13 Oct 2020 11:26:03 +0800 Subject: [PATCH 2/4] long message --- .../edu/hzuapps/net1814080903214/StartActivity.java | 0 students/net1814080903214/.idea/gradle.xml | 12 ------------ students/net1814080903214/.idea/vcs.xml | 6 ------ 3 files changed, 18 deletions(-) delete mode 100644 students/Net18140809032142/app/src/main/java/edu/hzuapps/net1814080903214/StartActivity.java delete mode 100644 students/net1814080903214/.idea/gradle.xml delete mode 100644 students/net1814080903214/.idea/vcs.xml diff --git a/students/Net18140809032142/app/src/main/java/edu/hzuapps/net1814080903214/StartActivity.java b/students/Net18140809032142/app/src/main/java/edu/hzuapps/net1814080903214/StartActivity.java deleted file mode 100644 index e69de29bb..000000000 diff --git a/students/net1814080903214/.idea/gradle.xml b/students/net1814080903214/.idea/gradle.xml deleted file mode 100644 index 76a4349cf..000000000 --- a/students/net1814080903214/.idea/gradle.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/students/net1814080903214/.idea/vcs.xml b/students/net1814080903214/.idea/vcs.xml deleted file mode 100644 index b2bdec2d7..000000000 --- a/students/net1814080903214/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file From d0131cc406027b7008ce05a7556cb3b40e1e83f6 Mon Sep 17 00:00:00 2001 From: zcjzzf <2268303279@qq.com> Date: Tue, 13 Oct 2020 12:54:17 +0800 Subject: [PATCH 3/4] =?UTF-8?q?#2=20#407=20=E7=AC=AC2=E6=AC=A1=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/src/main/AndroidManifest.xml | 21 ++++++++++ .../androidlabs/Net1814080903214Activity.java | 40 +++++++++++++++++++ .../hzuapps/androidlabs/ResetActivity.java | 14 +++++++ .../hzuapps/androidlabs/StartActivity.java | 14 +++++++ 4 files changed, 89 insertions(+) create mode 100644 students/net1814080903214/app/src/main/AndroidManifest.xml create mode 100644 students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/Net1814080903214Activity.java create mode 100644 students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/ResetActivity.java create mode 100644 students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/StartActivity.java diff --git a/students/net1814080903214/app/src/main/AndroidManifest.xml b/students/net1814080903214/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..5c965afde --- /dev/null +++ b/students/net1814080903214/app/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/Net1814080903214Activity.java b/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/Net1814080903214Activity.java new file mode 100644 index 000000000..9cb4b3900 --- /dev/null +++ b/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/Net1814080903214Activity.java @@ -0,0 +1,40 @@ +package edu.hzuapp.androidlabs; + +import androidx.appcompat.app.AppCompatActivity; + +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; + +public class Net1814080903214Activity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + + Button buttonToGame = (Button)findViewById(R.id.toGame); + buttonToGame.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent = new Intent(); + intent.setClass(Net1814080903214Activity.this, GameActivity.class); + startActivity(intent); + } + } + ); + + + Button buttonToHistoryScore = (Button)findViewById(R.id.toHistoryScore); + buttonToHistoryScore.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent = new Intent(); + intent.setClass(Net1814080903214Activity.this, HistoryScoreActivity.class); + startActivity(intent); + } + } + ); + } +} \ No newline at end of file diff --git a/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/ResetActivity.java b/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/ResetActivity.java new file mode 100644 index 000000000..2c9c4e784 --- /dev/null +++ b/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/ResetActivity.java @@ -0,0 +1,14 @@ +package edu.hzuapp.androidlabs; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; + +public class ResetActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_reset); + } +} \ No newline at end of file diff --git a/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/StartActivity.java b/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/StartActivity.java new file mode 100644 index 000000000..e803fac49 --- /dev/null +++ b/students/net1814080903214/app/src/main/java/edu/hzuapps/androidlabs/StartActivity.java @@ -0,0 +1,14 @@ +package edu.hzuapp.androidlabs; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; + +public class StartActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_start); + } +} \ No newline at end of file From e6f6bb6e185625bde99a0efbbfbdabe05d371e9f Mon Sep 17 00:00:00 2001 From: zcjzzf <2268303279@qq.com> Date: Tue, 13 Oct 2020 16:00:15 +0800 Subject: [PATCH 4/4] =?UTF-8?q?#1=20#407=20=E7=AC=AC=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E5=AE=9E=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- students/net1814080903214/Net1814080903214Activity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/students/net1814080903214/Net1814080903214Activity.java b/students/net1814080903214/Net1814080903214Activity.java index 165cfa53e..383f2266c 100644 --- a/students/net1814080903214/Net1814080903214Activity.java +++ b/students/net1814080903214/Net1814080903214Activity.java @@ -4,4 +4,4 @@ public class Net1814080903214Activity { static public void main(String[] args){ System.out.println("开始游戏"); } -} +} \ No newline at end of file