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

Android Android Data Persistence File Storage Displaying Images in a Grid

How does this relate back to parse.com?

In the other project to build a self destructing app we stored information on to parse...now we are storing on SQLite? So how would I get images that I stored on SQLite to parse?

1 Answer

Regardless of whether or not you choose to store images with SQLite, that does not affect how you save to Parse. You can continue using the same code from other apps that were only saving to Parse.

To specifically send an image from SQLite to Parse, first get the image object from the database, then save to Parse in the regular manner (using ParseFile with byte array).