I had the same issue and solved it by using this library to get the
ExifInfo of the image and getting the true orientation from that:

https://github.com/cantrell/ExifExample

However I have since received a report from an Android 7 user complaining
of orientation issues that I haven't had time to investigate yet but aside
from that it works perfectly.

Paul


On Tue, Jun 13, 2017 at 10:55 AM, leokan23 <[email protected]> wrote:

> Hi,
>
> I had similar problems to one of our shelfie apps. I solved the problem on
> android using the following code:
>
> https://pastebin.com/f1NvTyLD <https://pastebin.com/f1NvTyLD>
> This code only uses the front camera and rotates it to work for Android.
>
> An alternative could also be Camera ANE from distriqt.
>
> Hope this helps
>
>
>
> --
> View this message in context: http://apache-flex-users.23333
> 46.n4.nabble.com/Android-Images-Rotated-tp15306p15309.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>



-- 






*DISCLAIMER: This electronic message together with any attachments is
confidential. If you are not the intended recipient, do not copy, disclose
or use the contents in any way. Please also advise us by return e-mail that
you have received the message and then please destroy. Zutec  Ltd is not
responsible for any changes made to this message and / or any attachments
after sending by Zutec. We use virus scanning software but exclude all
liability for viruses or anything similar in this email or any attachment.*

Reply via email to