Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegisterUserActivity #1

Open
rdperinazzo opened this issue Jul 27, 2018 · 0 comments
Open

RegisterUserActivity #1

rdperinazzo opened this issue Jul 27, 2018 · 0 comments

Comments

@rdperinazzo
Copy link

rdperinazzo commented Jul 27, 2018

to change
//mCurrentPhotoPath = Uri.fromFile(newfile);
mCurrentPhotoPath = FileProvider.getUriForFile(RegisterUserActivity.this, BuildConfig.APPLICATION_ID + ".provider", newfile);




and
provider_phats.xml

<external-path name="external_files" path="."/>
<!--<files-path name="captured_image" path="/Pictures/picFolder/"/>-->

there is still an error when attaching the photo
Do not pass else if (requestCode == RESULT_CROP)

I'm trying to solve but I'm new to android and I can not do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant