Giới thiệu về OpenFlashLight
A minimalist Light one button. Open source.
Open Source Flash Light one button, stable and fast. (no ads of course).
https://github.com/tinmarino/OpenFlashLight
The important features are in AndroidManifest.xml :
And On :
cam = Camera.open();
Parameters p = cam.getParameters();
p.setFlashMode(Parameters.FLASH_MODE_TORCH);
cam.setParameters(p);
cam.startPreview();
Off :
cam.stopPreview();
cam.release();
cam = null;
Test if LED flash present in Android SmartPhone :
if (getPackageManager().hasSystemFeature(
PackageManager.FEATURE_CAMERA_FLASH))
Hope that helps.
What's new in the latest 1.0
Phiên bản cũ của OpenFlashLight
OpenFlashLight Thay thế
Tải xuống siêu nhanh và an toàn thông qua Ứng dụng APKPure
Một cú nhấp chuột để cài đặt các tệp XAPK/APK trên Android!

