# Blankj/AndroidUtilCode

:fire: Android developers should collect the following utils(updating).

Repository: https://github.com/Blankj/AndroidUtilCode
Canonical: https://ross.abutalabs.com/products/androidutilcode
Homepage: https://blankj.com/2016/07/31/android-utils-code/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, app, bar, cache, encode, encrypt, file, fragment, log, network, permission, regex, snackbar, spannable-string, toast, utils, thread-pool, reflect, androidx, eventbus
Last push: 2024-08-15T10:38:10+00:00

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

## Adoption (not part of the score)
Stars 33633, forks 10615 (observed 2026-08-28T04:11:58.387056+00:00)

## What it is
AndroidUtilCode is a powerful, easy-to-use Android utility library that encapsulates commonly used functions in Android development, split into a main 'utilcode' module and a supplementary 'subutil' module. It ships with complete demos and unit tests, and its encapsulated APIs greatly improve Android development efficiency.

## Use cases
- show toasts and snackbars in Android apps
- check and request Android runtime permissions
- encrypt and encode strings or files
- read and write files and manage app cache
- log messages with a convenient Android logger
- run background tasks with a thread pool
- validate user input with regex utilities
- get device, network, and screen information

## When to choose
- you are building an Android app in Java or Kotlin and want battle-tested utility APIs
- you want to avoid rewriting common helpers for files, caches, toasts, permissions, and encryption
- you need a well-documented utility library with demos and unit tests

## When to avoid
- you are developing for platforms other than Android
- you prefer small, single-purpose libraries over a large multi-purpose one
- your project enforces minimal dependencies and you only need one or two helpers

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, caching, logging, security, file-system, networking, concurrency, error-handling, internationalization
- domain: mobile-development, developer-tools, android-tools
- platform: -
- tags: android-utils, utility-library, java, androidx, toast, snackbar, permissions, encryption, regex, thread-pool, eventbus, spannable-string, android

## Member repositories
- Blankj/AndroidUtilCode (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:58.387056+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-29T16:28:13.496224+00:00, confidence not recorded.
  - readme: https://github.com/Blankj/AndroidUtilCode (fetched 2026-08-28T04:11:58.387056+00:00, sha 630054a01865)
- Data as of 2026-08-30T08:39:29.467469+00:00.
