Open iurimenin opened 9 years ago
Not right now but its in feature requests.
It`s anyone working on it ?
Not at the moment :/
Me and my friend will try to do this then :)
In order to use only Camera, You can use the following Intent to directly access image from the camera:
`Intent intents = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
fileUri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE);
intents.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
// start the image capture Intent
startActivityForResult(intents, TAKE_PICTURE);`
and then capture the image on ActivityResult method as: `@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data);
switch (requestCode) {
case TAKE_PICTURE:
if (resultCode == RESULT_OK) {
previewCapturedImage();
}
break;
}
} `
Hope this helps! I know its too late... might help someone
Hello, there's any configuration to use only camera? Or validate if the images is from the camera or gallery ?