Skip to content

onActivityResult, resultCode is always == RESULT_CANCELED (0) #12

Description

@averoes

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(...);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions