Recently we had an requirements were we need to take photo from camera without users help. Initially I thought it will be impossible but after digging I found solution on it. It?s not that hard as initially we thinks?..
CaptureImage is hosted in the following web site
https://github.com/sandipmjadhav/CaptureImage
If you think the Android project CaptureImage listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of CaptureImage.
Item | Value |
---|---|
Java File Count | 2 |
Supported screen sizes | [mdpi, hdpi, xhdpi] |
Target SDK Version | 15 |
Minimum SDK Version | 8 |
Activity Count | 2 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.CAMERA |
There are 1 image files in CaptureImage. The names of the image files are listed as follows.
ic_action_search.png
The following screenshort is generated from the image listed above.
CaptureImage has the following Java source files.
com.androidmyway.demo.capturecameraimage.CameraView.java com.androidmyway.demo.capturecameraimage.CaptureCameraImage.java