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 trialDigma Jain
1,602 PointsImage in Landscape mode though Clicked in Potrait Mode
Hi, When I click a picture using Ribbit App it is stored in Landscape mode though I click it in Portrait mode..What do I do to get the picture in Portrait Mode..?
3 Answers
Digma Jain
1,602 PointsI am using Actual Device to test the app
Joe Brown
21,465 PointsI would say that is something with your personal phone/device that would need to be resolved. I didn't have that problem with my phone during that phase of the project(Galaxy S4). I would say look at this link to possibly get an idea.. http://stackoverflow.com/questions/12933085/android-camera-intent-saving-image-landscape-when-taken-portrait ..not sure if that is too messy for you code wise but it may get you headed in the right direction with that problem. Maybe a simple google search of the details for your specific phone of how to make adjustments to possibly prevent that behavior would get the job done also. Maybe someone else will provide a quicker or easier way though.
Digma Jain
1,602 PointsOk thank you Joe
Joe Brown
21,465 PointsJoe Brown
21,465 PointsAre you on the emulator or an actual device?