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 trialJake barnly
177 PointsThe apps stops running when I take a picture in the ribbit app
The app shuts off when I take a picture with a lot of stuff in it but when I take a picture and its all black the app sends it just fine. Whats going on with the app? I imported the Ribbit app file from the site.
5 Answers
Daniel Johnson
104,132 PointsIt's a little difficult to say what the problem is without more information. However, from what you've described you may want to look at the file sizes for the photos you're using. The file upload limit for Parse is 10MB, so there may be some kind of limit there that you're overlooking.
hubertl
8,483 PointsHi Jake importing is not enough. You will need to make a change to allow your parse API key to be loaded. Please review file RibbitApplication in java folder and replace this section:
Parse.initialize(this, "dbrOyEHgX2GR3EPTIblrNNAd4ITXarc82shcXdlu", "6iyrGf1I8pXKRGlxMuL4NQQ4doZLrR5btJ2ZlvII");
Apps has already check condition to ensure that you will not send more the 10MB picture - you can switch it off of course.
Cheers Hubert
Jake barnly
177 Pointsand I suppose if you would like bigger file transfers you would have to pay?
Daniel Johnson
104,132 PointsI don't think they let you pay to increase that limit just yet, but try resizing and compressing the image before you upload it to Parse.
Yana Smirnova
4,979 PointsWorks for me, thank you! I think for me it was an issue with a device with limited memory, after I reduced size of picture to send it works just fine.