AdvancedAndroid_Emojify icon indicating copy to clipboard operation
AdvancedAndroid_Emojify copied to clipboard

onActivityResult, resultCode is always == RESULT_CANCELED (0)

Open averoes opened this issue 8 years ago • 0 comments
trafficstars

on LGE LG D802 device, the camera app doesn't seem to recognise Emojify's File Provider and thus no photo is captured and displayed, for a work around, this line in MainActivity.java solved the problem for me:

Uri photoURI = Uri.fromFile(photoFile);

instead of Uri photoURI = FileProvider.getUriForFile(...);

averoes avatar Jun 22 '17 19:06 averoes