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: Is sending multiple images to recipients possible using Parse? If so how would you do it?

I have been looking for 2 months, been working on the app for 5 months no progress. And of coarse i'm to stupid to figure it out on my own. Any help would be GREATLY appreciated.

1.) i want to send multiple images to friends

2.) And have recipients view them?

basically like Snapchat Story

Thanks for reading

1 Answer

im not too keen on android but the way I would do it would be to save the images as ParseFiles in the background to parse. Once the files have saved add all the images to a ParseRelation of the message object (call it imagesRelation or something). That way each messsage can have multiple images associated with it.

When a user clicks the message you need to query the backend for the relation of images for that message. then once you have all the images you should be able to animate between them using an imageView of some sort (im not sure exactly how android handles animating between different images like iOS does. looks like you might use an image switcher)

Thank you! Even though you didn't know much about android. You still bothered too answer my question, I'm so grateful.

its a ParseFile, just the iOS name for it. I edited my answer to reflect the android version of the parse SDK.

Alright i'm going to take another shot at this. And here's another thank you for you and the team.

no problem man I appreciate it