Back to project page camera.
The source code is released under:
Apache License
If you think the Android project 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.
package com.example.android.photobyintent; /*from w w w . ja v a 2 s . co m*/ import java.io.File; import android.os.Environment; public final class BaseAlbumDirFactory extends AlbumStorageDirFactory { // Standard storage location for digital camera files private static final String CAMERA_DIR = "/dcim/"; @Override public File getAlbumStorageDir(String albumName) { return new File ( Environment.getExternalStorageDirectory() + CAMERA_DIR + albumName ); } }