private void handleImageData(Uri data) {
if(data != null){
file = new File(data.getPath());
capturedImageView.setImageURI(data);
}
else {
AndyUtils.showErrorToast("Invalid Uri", this );
}
}
I am always getting file as null. i know this is not right way. what am i missing?