0

I am building flutter apps and using access to camera, when I try camera emulator from android studio, it always in landscape mode, is there a way to set it in potrait mode ?

wahyu
  • 1,679
  • 5
  • 35
  • 73
  • You mean, the emulator is in landscape mode? Check [this](https://stackoverflow.com/a/4535315/192373) – Alex Cohn Jan 31 '21 at 15:42
  • the emulator is in potrait position, but when I open camera of emulator, it came out in landscape – wahyu Feb 01 '21 at 01:42
  • You mean, you take a picture, and the Jpeg is landscape? This is by design, and applies the overwhelming majority of physical devices, as well. You may find an orientation flag in the image EXIF header. – Alex Cohn Feb 01 '21 at 08:05
  • Generally speaking, it is not recommended to base your development on the emulator camera, but rather work with a physical device; probably, more than one device – camera behavior may differ significantly between manufacturers and device models. – Alex Cohn Feb 01 '21 at 08:05
  • 1
    @AlexCohn thank you for your suggestion and information, I will try to use physical device when trying to access camera – wahyu Feb 01 '21 at 08:15

0 Answers0