Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Self-Destructing Message Android App Capturing Photos and Videos Setting Where Photos are Saved

Digma Jain
Digma Jain
1,602 Points

Image 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..?

Joe Brown
Joe Brown
21,465 Points

Are you on the emulator or an actual device?

3 Answers

Digma Jain
Digma Jain
1,602 Points

I am using Actual Device to test the app

Joe Brown
Joe Brown
21,465 Points

I 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
Digma Jain
1,602 Points

Ok thank you Joe