In this example for android camera switching and get the images from gallery and show that images gridview.
Android-Camera is hosted in the following web site
https://github.com/hari91apm/Android-Camera
If you think the Android project Android-Camera 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 Android-Camera.
Item | Value |
---|---|
Java File Count | 3 |
Supported screen sizes | [hdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.CAMERA android.permission.WRITE_EXTERNAL_STORAGE |
There are 2 image files in Android-Camera. The names of the image files are listed as follows.
attach_image.png click_to_shoot.png
The following screenshort is generated from the image listed above.
Android-Camera has the following Java source files.
com.hari.camera.CameraActivity.java com.hari.camera.CameraPreview.java com.hari.camera.GridViewAdapter.java