ImagePicker
ImagePicker copied to clipboard
results taken from camera
Your library is great man! however i encountered a problem when photo taken from the camera, it doesn't give result.
Please provide more information of this problem
Camera doesn't start when choosed. There's no error on Logcat. Tested on Android 8.1.0 API 27.
It could be a permission issue, could you try out the latest release
Hi @maayyaannkk , I too faced issue with Camera @mermaidshop mentioned? Any solution!!
Hi @maayyaannkk , Not getting camera result , In case of Fragment.
No camera result for intents with only camera.
Intent intent = new Intent(getContext(), ImageSelectActivity.class);
intent.putExtra(ImageSelectActivity.FLAG_CAMERA, true);
intent.putExtra(ImageSelectActivity.FLAG_GALLERY, false);
startActivityForResult(intent, TAKE_IMAGE_ID);
String filePath = data.getStringExtra(ImageSelectActivity.RESULT_FILE_PATH); Bitmap bitmap = BitmapFactory.decodeFile(filePath); //returns null