AutoTools Set Screen Orientation 1.1

Rotate your phone screen with AutoTools Secure Settings.

  1. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
    szmerek submitted a new AutoApps project:

    Set Screen Orientation - Rotate you phone screen with AutoTools Secure Settings.

    Read more about this project...
     
  2. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    autormali likes this.
  4. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
    Great!:D Sure, it make things easier to have it bundled in AT.
    Tested above build. Works ok.
    Hope you'll make Read Settings action for it as well.
    Thanks!:)
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    I didn't add it to read settings because it changes 2 values :).. What would you expect it to return?
     
  6. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
    These two values.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    haha true :p ok, I'll do that.
     
  8. Khaled w

    Khaled w Member

    Joined:
    Jan 4, 2017
    Messages:
    42
    Likes Received:
    0
    The command: user_rotation, does not appear in any of the
    • adb shell settings list system
    • adb shell settings list global
    • adb shell settings list secure
    So it seems there are other commands, how can we know them?
     
    Last edited: Jan 4, 2017
  9. autormali

    autormali Member

    Joined:
    Jul 4, 2016
    Messages:
    134
    Likes Received:
    22
    It appears in System Settings - see here. I'm using Tasker Run Shell action (with Use Root option on): 'settings list system' to list the System Settings. I have user_rotation constant in my System Settings list...

    Try to read the value with AutoTools Secure Settings Read Settings:
    Read Setting (582)
    A1: AutoTools Secure Settings [ Configuration:Setting
    Type: System
    Name: user_rotation
    Input Type: Int
    Read Setting: true
    Timeout (Seconds):60 ]
    A2: Flash [ Text:%user_rotation
    Long:Off ]

    This is the only option now to read this setting as @joaomgcd has not made predefined Read Settings action for Screen Orientation yet.
     
    Last edited: Jan 4, 2017
    Khaled w likes this.
  10. Khaled w

    Khaled w Member

    Joined:
    Jan 4, 2017
    Messages:
    42
    Likes Received:
    0
    Oh, ok, but i does not appear on ADB when using
    • adb shell settings list system
    Thank you
     

Share This Page