# square/seismic

Android device shake detection.

Repository: https://github.com/square/seismic
Canonical: https://ross.abutalabs.com/products/seismic
Language: Java
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2024-11-26T19:11:02+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5109, "days_push": 645, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1312, forks 171 (observed 2026-08-28T04:04:20.163224+00:00)

## What it is
A small Android library by Square that detects device shake gestures using the accelerometer sensor. It is a single-file library distributed via Maven/Gradle, now officially deprecated.

## Use cases
- detect when user shakes their android phone
- trigger an action on device shake gesture
- undo or reset feature activated by shaking
- shake-to-refresh in an android app
- listen to accelerometer shake events

## When to choose
- you need a tiny, dependency-free shake detection implementation for Android
- you are fine copying a single source file into your codebase
- you want a simple, proven accelerometer-based gesture listener

## When to avoid
- you need actively maintained or updated libraries
- you require gesture detection beyond shake (the project is deprecated)
- you are starting a new project and prefer supported alternatives

## Facets
- artifact type: library
- maturity: abandoned
- function: mobile-framework
- domain: mobile-development, android-tools
- platform: jvm
- tags: shake-detection, accelerometer, sensors, android-library, deprecated, android

## Member repositories
- square/seismic (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.163224+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:49:25.742996+00:00, confidence not recorded.
  - readme: https://github.com/square/seismic (fetched 2026-08-28T04:04:20.163224+00:00, sha f86c5ad1d0f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
