Skip to content

khatriharsh08/ActivityLifeCycle

Repository files navigation

📱 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages