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 9.1: An Android hello-world project
Slide 9.2: Manifest file: AndroidManifest.xml
Slide 9.3: Manifest file: AndroidManifest.xml (cont.)
Slide 9.4: Manifest file: AndroidManifest.xml (cont.)
Slide 9.5: Layout XML code
Slide 9.6: Layout XML code (cont.)
Slide 9.7: Layout XML code: activity_main.xml
Slide 9.8: Layout XML code: activity_main.xml (cont.)
Slide 9.9: Layout XML code: activity_main.xml (cont.)
Slide 9.10: Layout XML code: activity_main.xml (cont.)
Slide 9.11: Layout XML code: activity_next.xml
Slide 9.12: Strings
Slide 9.13: Menus
Slide 9.14: Java source code
Slide 9.15: Java source code: MainActivity.java
Slide 9.16: Java source code: MainActivity.java (cont.)
Slide 9.17: Java source code: MainActivity.java (cont.)
Slide 9.18: Java source code: MainActivity.java (cont.)
Slide 9.19: Java source code: MainActivity.java (cont.)
Slide 9.20: Java source code: NextActivity.java
Slide 9.21: Java source code: NextActivity.java (cont.)

  ☂ References

Slide 9.a: Android developer guides
Slide 9.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.9.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.9.0")









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