Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Sam Try
77 PointsStore all the captured video and photo in a view of custom fragment or activity
Hello, I am currently taking the Self-destructing message android course. There was an objective I wanted to achieve 1) Instead of storing the captured photo or video in the the server(Parse), I want to store it for displaying in another view of a fragment/activity. 2) I want to make a list view so that the user can view the picture and video again and then submit on the server(Parse) upon his consent.
1 Answer
Ben Jakuben
Treehouse TeacherWe are showing how to store the image to the gallery, so you should have everything you need for that feature. Hang onto the media URI and you can then display it in your app on any Activity or Fragment you like. You can add a button to then submit it to Parse and just move the code that actually uploads it to Parse to that button.
Sam Try
77 PointsSam Try
77 PointsI am completely get what you are trying to say but I dont want to save the image to my android phones gallery, I just want to save it in the gallery of my own ribbit application.