# eikemello/routine architecture

> Architecture diagram of the GitHub repository eikemello/routine, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eikemello/routine
- Repository: https://github.com/eikemello/routine

## Overview

NotifyListenerService is an Android app, but the README and sampled source show only a launch activity that logs startup and displays a layout. No notification-listener behavior or service implementation is present in the supplied evidence, so the graph covers only the visible startup path and its logging-tag helper.

Main entry points: [`app/src/main/java/com/android/nls/Routine/HomeActivity.java`](https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/HomeActivity.java) (Home activity), [`app/src/main/java/com/android/nls/Routine/utils/Common.java`](https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/utils/Common.java) (Tag helper), [`app/src/main/res/layout/activity_home.xml`](https://github.com/eikemello/routine/blob/main/app/src/main/res/layout/activity_home.xml) (Home layout), [`app/src/main/java/com/android/nls/Routine/utils/Constants.java`](https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/utils/Constants.java) (Tag constant)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App startup"]
  node_home["Home activity<br/>[HomeActivity.java]"]
  node_layout["Home layout<br/>[activity_home.xml]"]
  node_common["Tag helper<br/>[Common.java]"]
  node_constants["Tag constant<br/>[Constants.java]"]
end

node_user(("User"))
node_android["Android runtime"]

node_user -->|"launches app"| node_android
node_android -->|"creates activity"| node_home
node_home -->|"sets content view"| node_layout
node_home -->|"generates log tag"| node_common
node_common -->|"reads prefix"| node_constants

click node_home "https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/HomeActivity.java"
click node_layout "https://github.com/eikemello/routine/blob/main/app/src/main/res/layout/activity_home.xml"
click node_common "https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/utils/Common.java"
click node_constants "https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/utils/Constants.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_layout,node_common,node_constants,node_user toneBlue
class node_android toneIndigo
```

## Components

### App startup

- [Home activity](https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/HomeActivity.java): `app/src/main/java/com/android/nls/Routine/HomeActivity.java`
- [Home layout](https://github.com/eikemello/routine/blob/main/app/src/main/res/layout/activity_home.xml): `app/src/main/res/layout/activity_home.xml`
- [Tag helper](https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/utils/Common.java): `app/src/main/java/com/android/nls/Routine/utils/Common.java`
- [Tag constant](https://github.com/eikemello/routine/blob/main/app/src/main/java/com/android/nls/Routine/utils/Constants.java): `app/src/main/java/com/android/nls/Routine/utils/Constants.java`

### Other components

- **User**
- **Android runtime**

## Connections

- User → Android runtime: launches app
- Android runtime → Home activity: creates activity
- Home activity → Home layout: sets content view
- Home activity → Tag helper: generates log tag
- Tag helper → Tag constant: reads prefix
