# litesuits/android-common

Android Common Utils or Helper. Such as Log, Averager, Base64, Check, FlashLight, KeyguardLock, LogReader, Network, SilentInstaller, TimeAverager, TimeCounter, Toastor, WakeLock, ScreenReceiver, SmsReceiver, PhoneReceiver, NotificationService, AndroidUtil, AppUtil, BitmapUtil, ByteUtil, ClassUtil, DialogUtil, FieldUtil, FileUtil, HexUtil, MD5Util, NotificationUtil, NumberUtil, PackageUtil, RandomUtil, ShellUtil, TelephoneUtil, VibrateUtil, IOUtils, FileUtils, AsyncExecutor, etc.  通用性强，纯洁简单，体积不到50K！其中包括bitmap处理，文件操作，加密存储器，shell命令，静默安装，计数器，均值器，吐司，日志，校验，提示，网络监测等基础功能，以及一些Base64、MD5、Hex、Byte、Number、Dialog、Filed、Class、Package、Telephone、Random等工具类。

Repository: https://github.com/litesuits/android-common
Canonical: https://ross.abutalabs.com/products/litesuits-android-common
Homepage: http://litesuits.com?form=gcom
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2017-09-06T00:23:05+00:00

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

## Adoption (not part of the score)
Stars 3620, forks 1073 (observed 2026-08-28T04:08:11.851468+00:00)

## What it is
LiteCommon is a lightweight collection of general-purpose Android utility and helper classes, under 50K in size. It covers logging, bitmap handling, file/IO operations, encrypted storage, shell commands, silent installation, network checks, and many common utility classes like Base64, MD5, Hex, and Byte tools.

## Use cases
- handle bitmaps in android (crop, compress, round corners)
- read and write files and io streams in android
- show toasts without repeated popups
- check network connectivity status on android
- encrypt and persist shared preferences data
- run async tasks with a custom thread pool
- capture app logs to sd card for remote debugging
- get device info like IMEI, carrier, and phone number

## When to choose
- you need a tiny, dependency-free grab-bag of common Android utilities
- you want quick helpers for bitmaps, files, logging, and device info in one small jar
- you maintain a legacy Java Android app and want drop-in utility classes

## When to avoid
- you use Kotlin and prefer modern libraries like AndroidX KTX
- you need actively maintained, up-to-date utilities for recent Android versions
- you need only one specific capability better served by a focused library

## Facets
- artifact type: library
- maturity: abandoned
- function: developer-tools, logging, file-system, image-processing, cryptography, concurrency, http-client, serialization
- domain: android-tools, developer-tools, mobile-development
- platform: jvm
- tags: android-utils, utility-library, helper-classes, bitmap, toast, silent-installer, small-footprint, android, mobile

## Member repositories
- litesuits/android-common (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.851468+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-29T18:31:58.872017+00:00, confidence not recorded.
  - readme: https://github.com/litesuits/android-common (fetched 2026-08-28T04:08:11.851468+00:00, sha e202fd6a46bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
