# CJT2325/CameraView

仿微信拍照Android控件（轻触拍照，长按摄像）

Repository: https://github.com/CJT2325/CameraView
Canonical: https://ross.abutalabs.com/products/cjt2325-cameraview
Language: Java
License: Apache-2.0
License Family: permissive
Topics: camera, android
Last push: 2019-06-18T13:42:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3493, "days_push": 2633, "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 2682, forks 586 (observed 2026-08-28T04:07:10.074076+00:00)

## What it is
JCameraView is an Android custom view control that mimics WeChat's camera interaction: tap to take photos and long-press to record video, with pinch/zoom gestures and front/back camera switching. It is distributed as a Gradle dependency (cjt.library.wheel:camera) and supports API 14+.

## Use cases
- add a WeChat-style tap-to-photo, long-press-to-video camera to an Android app
- record short videos with configurable max duration in a custom view
- switch between front and rear cameras during capture
- zoom while recording by sliding finger up
- preview and replay recorded video before saving
- set a custom save path for captured photos and videos

## When to choose
- you need a ready-made WeChat-like camera capture UI on Android
- you want a lightweight custom view rather than a full camera library
- your app targets older Android versions (API 14+)

## When to avoid
- you need CameraX/Camera2 modern APIs or advanced camera features
- you need active maintenance - the last release was in 2019
- you are not building an Android app

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, video-processing, image-processing
- domain: mobile-development, media, android-tools
- platform: jvm
- tags: camera, photo-capture, video-recording, wechat-style, custom-view, android

## Member repositories
- CJT2325/CameraView (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.074076+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-30T02:17:54.204134+00:00, confidence not recorded.
  - readme: https://github.com/CJT2325/CameraView (fetched 2026-08-28T04:07:10.074076+00:00, sha a8d84b2fac5e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
