Created
August 8, 2013 20:03
-
-
Save choiboi/6188195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a new File object with specified filepath, where the | |
// captured image will be located. | |
File file = new File(getOutputLink(TEMP_JPEG_FILENAME)); | |
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); | |
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); | |
startActivityForResult(cameraIntent, CAMERA_WITH_FILEPATH); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment