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 11.ⓐ: Android developer guides (reference)
Slide 11.ⓑ: Android app construction (video: 31:26 minutes)

Slide 11.1: Mobile-commerce transaction processing
Slide 11.2: Mobile-commerce app architecture
Slide 11.3: Downloading and installing Android Studio
Slide 11.4: Android programming
Slide 11.5: Android overview
Slide 11.6: Android architecture (video: 14:42 minutes)
Slide 11.7: Android Studio
Slide 11.8: An Android hello-world project
Slide 11.9: Manifest file: AndroidManifest.xml
Slide 11.10: Manifest file: AndroidManifest.xml (cont.)
Slide 11.11: Manifest file: AndroidManifest.xml (cont.)
Slide 11.12: Layout XML code
Slide 11.13: Layout XML code (cont.)
Slide 11.14: Layout XML code: activity_main.xml
Slide 11.15: Layout XML code: activity_main.xml (cont.)
Slide 11.16: Layout XML code: activity_main.xml (cont.)
Slide 11.17: Layout XML code: activity_main.xml (cont.)
Slide 11.18: Layout XML code: activity_next.xml
Slide 11.19: Strings
Slide 11.20: Menus
Slide 11.21: Java source code
Slide 11.22: Java source code: MainActivity.java
Slide 11.23: Java source code: MainActivity.java (cont.)
Slide 11.24: Java source code: MainActivity.java (cont.)
Slide 11.25: Java source code: MainActivity.java (cont.)
Slide 11.26: Java source code: MainActivity.java (cont.)
Slide 11.27: Java source code: NextActivity.java
Slide 11.28: Java source code: NextActivity.java (cont.)

  • 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.