SyntaxFix
Write A Post
Hire A Developer
Questions
To Access the Camera and take pictures and set ImageView on Android
You have to use Uri file = Uri.fromFile(getOutputMediaFile()); for marshmallow.
Uri file = Uri.fromFile(getOutputMediaFile());
Use below link to get path
https://androidkennel.org/android-camera-access-tutorial/