Android Open Source - Photo api TakeAndSavePhoto






Project Summary

Sample for taking photo using Camera Android API and storing it into external storage.

Web Site / Source Repository

TakeAndSavePhoto is hosted in the following web site
https://github.com/nichtemna/TakeAndSavePhoto

If you think the Android project TakeAndSavePhoto listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of TakeAndSavePhoto.

ItemValue
Java File Count8
Supported screen sizes[mdpi, hdpi, xhdpi]
Target SDK Version17
Minimum SDK Version9
Activity Count1
Fragment Count3
jar files usedandroid-support-v4.jar
Required Permissionsandroid.hardware.camera.autofocus
android.permission.CAMERA
android.permission.WRITE_EXTERNAL_STORAGE




Resource Files

There are 9 image files in TakeAndSavePhoto. The names of the image files are listed as follows.

ic_camera.png
ic_chooser.png
ic_file.png
ic_folder.png
ic_gallery.png
ic_left.png
ic_remove.png
ic_right.png
ic_switch_camera.png

The following screenshort is generated from the image listed above.

null




Java Source Files

TakeAndSavePhoto has the following Java source files.

com.nichtemna.takeandsavephoto.CameraFragment.java
com.nichtemna.takeandsavephoto.Extras.java
com.nichtemna.takeandsavephoto.FragmentToggler.java
com.nichtemna.takeandsavephoto.ImageUtils.java
com.nichtemna.takeandsavephoto.PhotoActivity.java
com.nichtemna.takeandsavephoto.PhotoFragment.java
com.nichtemna.takeandsavephoto.Preview.java
com.nichtemna.takeandsavephoto.ViewPagerAdapter.java