Android Tutorials - Herong's Tutorial Examples - v3.05, by Herong Yang
android.app.Activity Class and Activity Lifecycle
This chapter provides tutorial notes on android.app.Activity class and activity lifecycle. Topics include introduction of activity states, lifetime periods and activity callback methods; creating log file in the application's private file folder; implementing activity callback methods; writing example application ActivityLog to test application lifecycle.
Introduction of Activity Lifecycle
onCreate() and Other Callback Methods
ActivityLog - Application to Create Log File
Viewing Activity Log File with "cat" Command in "adb shell"
Implementing Activity Callback Methods
ActivityLog Test - Activity Terminated by User
Takeaways:
Table of Contents
Installing JDK 1.8 on Windows System
Installation of Android SDK R24 and Emulator
Installing Apache Ant 1.9 on Windows System
Developing First Android Application - HelloAndroid
Android Application Package (APK) Files
Android Debug Bridge (adb) Tool
AboutAndroid - Application to Retrieve System Information
►android.app.Activity Class and Activity Lifecycle
View Objects and Layout Resource Files
Using "adb logcat" Command for Debugging
Build Process and Package File Content
Samsung Galaxy Tab 3 Mini Tablet
USB Debugging Applications on Samsung Tablet
USB Debugging Applications on LG-V905R Tablet