question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rotate not working?

See original GitHub issue

I might be doing something wrong but even though I use cropImageView.rotateImage(90); it is not shown as rotated. Basically all I do in onCreate is:

cropImageView.setImageUriAsync(picUri); cropImageView.rotateImage(90);

and then take care of saving the cropped picture. Am I missing something?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
radujicacommented, May 2, 2016

That’s exactly what it was. After setting Camera.Parameters.setRotation(90) in the custom camera, it rotated in the crop activity. Thanks for the help!

0reactions
radujicacommented, May 2, 2016

Quite odd. Guess it’s because the custom camera activity I made does not save any exif info so far

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Auto Rotate Not Working on Android
Fix Auto-Rotate Issues by Restarting Your Android Phone · Turn On Screen Rotation From Android Settings · Use the In-App Screen Rotation Option....
Read more >
My Android Won't Auto-Rotate - What to Do - Technipages
Another reason why your Android device is not auto rotating is either because the G-sensor or the accelerometer is malfunctioning. First, run some...
Read more >
7 ways to fix Android screen rotation not working-Carlcare
7 ways to fix Android screen rotation not working · Restart your phone · Check Auto-rotation settings · Calibrate phone's sensors · Check...
Read more >
How to Fix It When Android Screen Won't Rotate - Lifewire
Cause of Android Screen Not Rotating · Auto rotate option is turned off or not working. · The screen you're using isn't set...
Read more >
Rotate the screen on your iPhone or iPod touch - Apple Support
If the screen still won't rotate, try another app — like Safari or Messages — which are known to work in landscape mode....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found