Created
March 25, 2013 06:23
-
-
Save sunils34/5235247 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
ContentValues values = new ContentValues(); | |
values.put(MediaStore.Images.Media.TITLE, BufferUtils.getOutputImageFilename()); | |
sFileUri = getActivity().getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); | |
//sFileUri = BufferUtils.getOutputMediaFileUri(BufferUtils.MEDIA_TYPE_IMAGE); | |
intent.putExtra(MediaStore.EXTRA_OUTPUT, sFileUri); // set the image file name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment