Author Topic: Android Screen Rotation  (Read 2139 times)

Offline mcecilia

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Android Screen Rotation
« on: February 12, 2014, 05:03:13 am »
Hello Sirs,
Does anybody know why the rotation options are hidden and why the screen can not be rotated by application?
Thanks

Offline mborras

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Android Screen Rotation
« Reply #1 on: January 23, 2017, 11:12:03 am »
After looking for into Android source we detected that the propertie "rotate_screen" must be grater than 1 to rotate the screen.

Settings.System.PutInt(ContentResolver, "rotate_screen", 1);