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 8.0: Programming Exercise II: A native mobile app for a bookstore
Slide 8.1: Mobile-commerce transaction processing
Slide 8.2: Mobile-commerce app architecture
Slide 8.3: Downloading and installing Android Studio
Slide 8.4: Android programming
Slide 8.5: Android overview
Slide 8.6: Android architecture (video: 14:42 minutes)
Slide 8.7: Android Studio
Slide 8.8: An Android hello-world project
Slide 8.9: Manifest file: AndroidManifest.xml
Slide 8.10: Manifest file: AndroidManifest.xml (cont.)
Slide 8.11: Manifest file: AndroidManifest.xml (cont.)
Slide 8.12: Layout XML code
Slide 8.13: Layout XML code (cont.)
Slide 8.14: Layout XML code: activity_main.xml
Slide 8.15: Layout XML code: activity_main.xml (cont.)
Slide 8.16: Layout XML code: activity_main.xml (cont.)
Slide 8.17: Layout XML code: activity_main.xml (cont.)
Slide 8.18: Layout XML code: activity_next.xml
Slide 8.19: Strings
Slide 8.20: Menus
Slide 8.21: Java source code
Slide 8.22: Java source code: MainActivity.java
Slide 8.23: Java source code: MainActivity.java (cont.)
Slide 8.24: Java source code: MainActivity.java (cont.)
Slide 8.25: Java source code: MainActivity.java (cont.)
Slide 8.26: Java source code: MainActivity.java (cont.)
Slide 8.27: Java source code: NextActivity.java
Slide 8.28: Java source code: NextActivity.java (cont.)

  ☂ References

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









      Working in a mirror factory is something    
      I can totally see myself doing.