How dragonte6967/wclock works
Wclock is a simple Android always-on standby clock intended for an e-ink display. The main flow starts when Android launches the activity: it keeps the screen on, hides system bars, and presents a Compose clock with Chinese year, date, weekday, and time. The composable refreshes its calendar state once per minute and formats the displayed values. The README identifies no additional product capabilities; sampled code shows no persistence or external service integrations.
Main entry points: MainActivity.kt Clock screen
Components 7
Clock app
- Main activity
app/src/main/java/top/dragonte/wclock/MainActivity.kt
Clock display
- Clock screen
app/src/main/java/top/dragonte/wclock/MainActivity.kt - Calendar state
app/src/main/java/top/dragonte/wclock/MainActivity.kt - Date formatting
app/src/main/java/top/dragonte/wclock/MainActivity.kt - App theme
app/src/main/java/top/dragonte/wclock/ui/theme/Theme.kt
Other components
- Device user
- Android system
Connections 8
- Android system → Main activity: launches
- Main activity → Clock screen: sets content
- Main activity → Android system: keeps awake
- Main activity → Android system: hides system bars
- Clock screen → Calendar state: refreshes each minute
- Clock screen → Date formatting: formats date and year
- Calendar state → Clock screen: updates display
- Clock screen → Device user: shows clock