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.)
Slide 9.a: Android developer guides
Slide 9.b: Android app construction (video: 31:26 minutes)
|
|
|
|
|