https://github.com/pinguo-yuyidong/Camera2/blob/master/app/src/main/java/us/yydcdut/androidltest/otheractivity/FlashActivity.java
here,you don’t need the preview to open the flash.
More Related Contents:
- Java Programming real objects [closed]
- Android 5.0 – Add header/footer to a RecyclerView
- Getting frames from Video Image in Android
- Android changing Floating Action Button color
- Android: Switch camera when button clicked
- How to Apply Custom Filters in a Camera [Surfaceview Preview]…?
- method called after release() exception unable to resume with android camera
- App crashing when trying to use RecyclerView on android 5.0
- Recyclerview painfully slow to load cached images form Picasso
- What is the difference between `opencv.android.JavaCameraView` and `opencv.android.NativeCameraView`
- Android: detect brightness (amount of light) in phone’s surroundings using the camera?
- Prevent flipping of the front facing camera
- How to configure a static IP address, netmask, gateway, DNS programmatically on Android 5.x (Lollipop) for Wi-Fi connection
- Using the camera activity in Android
- Java Android Calendar/DateFormat this format XXXXXXXX [closed]
- How to send SMS in Java
- Java equivalent of an OpenSSL AES CBC encryption
- Java – reading, manipulating and writing WAV files
- Java Delegates?
- Can constructor return a null object?
- Java Error: “Your security settings have blocked a local application from running”
- How do I write a compareTo method which compares objects?
- Why is Maven downloading the maven-metadata.xml every time?
- byte array to short array and back again in java
- Get a JSON object from a HTTP response
- Queries returning multiple result sets
- How to convert TimeStamp to Date in Java?
- Resize image, maintain aspect ratio
- Calling callbacks with Mockito
- How to write a generic method that takes two arguments of the same types in java?