Skip to content

Latest commit

Β 

History

History
67 lines (40 loc) Β· 1.34 KB

File metadata and controls

67 lines (40 loc) Β· 1.34 KB

πŸ“± Android Activity Lifecycle Log App

This is a simple Android application that demonstrates the Activity Lifecycle. It shows lifecycle method calls (onCreate, onStart, onResume, onPause, onStop, onRestart, onDestroy) using:

  • βœ… Logcat messages
  • βœ… Toast messages
  • βœ… TextView updates

πŸš€ Features

  • Displays lifecycle state on screen inside a CardView.
  • Logs lifecycle events in Logcat.
  • Shows Toast pop-ups for each lifecycle method.
  • Custom app icon with ALC logo.

πŸ“‚ Project Setup

  1. Clone the repo:

    git clone https://github.com/khatriharsh08/ActivityLifeCycle.git
  2. Open the project in Android Studio.

  3. Build & Run on Emulator/Physical Device.


πŸ“Έ Screenshots

App Icon

App Icon

Display View

App Icon

Logcat Output

Logcat Screenshot


πŸŽ₯ Demo Video

πŸ‘‰ Watch Demo Video

(If GitHub preview doesn’t work, download and play locally.)


πŸ“– Android Lifecycle Flow

Lifecycle Diagram


πŸ› οΈ Tech Stack

  • Java (Android)
  • Gradle
  • Android Studio