TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Miro Fq
NA
22
1.5k
Image captured from camera not showing on next activity Android Studio
Dec 3 2020 11:19 AM
I'm targeting my app at SDK 28 so I need to use file provider to save captured image. My code function well for select image from gallery and successfully retrieved the intended image to next activity (DetectionActivity).
However I couldnt retrieve the image captured from camera to (DetectionActivity). In this case, the image has been saved in my storage device so the file provider works well. Just that it wont display in next activity. I think its because of the image Uri but not so sure.
Attached is my SelectImageActivity and DetectionActivity.
Please help me on passing the image captured to DetectionActivity.
p/s : the code got no error, it just allow user to open camera, snap picture but after that return to the same activity.
Attachment:
Activity.zip
Reply
Answers (
1
)
Black screen showing approx 3 seconds before play video.
File compression in Android