The following slides introduce Android programming.
The Android code given in this course is correct, but it may not work for current Android SDK or API because of the backward compatibility issue of Android. Unless you know how to modify the gradle file, you had better use the given template of Android Studio, and fill in the template by using the code from the instructor.
Slide 10.1: An Android hello-world project
Slide 10.2: (Manifest file) AndroidManifest.xml
Slide 10.3: (Manifest file) AndroidManifest.xml (cont.)
Slide 10.4: (Manifest file) AndroidManifest.xml (cont.)

Slide 10.5: Layout XML code
Slide 10.6: Layout XML code (cont.)
Slide 10.7: (Layout XML code) activity_main.xml
Slide 10.8: (Layout XML code) activity_main.xml (cont.)
Slide 10.9: (Layout XML code) activity_main.xml (cont.)
Slide 10.10: (Layout XML code) activity_main.xml (cont.)
Slide 10.11: (Layout XML code) activity_next.xml

Slide 10.12: Strings
Slide 10.13: Menus

Slide 10.14: Java source code
Slide 10.15: (Java source code) MainActivity.java
Slide 10.16: (Java source code) MainActivity.java (cont.)
Slide 10.17: (Java source code) MainActivity.java (cont.)
Slide 10.18: (Java source code) MainActivity.java (cont.)
Slide 10.19: (Java source code) MainActivity.java (cont.)
Slide 10.20: (Java source code) NextActivity.java
Slide 10.21: )Java source code) NextActivity.java (cont.)

  ☂ References

Slide 10.a: Android developer guides
Slide 10.b: Android app construction (video: 31:26 minutes)
  • When start building the app, pick the template “Empty View Activity” (Java) instead of “Blank Activity” (Kotlin).

  • If you encounter the following problem:
    An issue was found when checking AAR metadata: 1. Dependency 'androidx.activity:activity:1.10.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-33...
    replace the following command in the gradle file:
       implementation("com.google.android.material:material:1.10.0")
    by
       implementation("com.google.android.material:material:1.10.0")









      So where do you want to hold the meeting?    
      Your virtual office or my virtual office?