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!
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
Giorgos Karyofyllis21,276 Points
Add image to DB sqlite Android
Hello, I want to create an event that will open the gallery and then the selected image will be coppied to a folder inside the application. Next the URI of the image will be returned to a String and this String will be strored to database. I know how to store the uri to the database. What I don't know is how to access to gallery, copy the image and get the new URI.
Any help how to do that?