title: Auto screen orientation changes with respect to time intervals
body: <p>I wanted to rotate the screen orientations i.e from landscape -> patriot and vice verse for every 500 ms(This is on real device(not on emulator)).
  Is there any shell command where we can rotate the current screen orientation? This is not corresponding to any of the app. I just want to rotate the screen in all available directions with irrespective to current activity</p>
  
  <p>I've checked with adb shell to change the screen to landscape:</p>
  
  <h1>service call window 18 i32 1</h1>
  
  <p>change the screen to portrait:</p>
  
  <h1>service call window 18 i32 0</h1>
  
  <p>But these are not working on real device.. Can any one please provide a better solution to do this, would really helpful for me.</p>
  
  <p>Atleast share/point me to any available scripts/apks that will do this auto orientations. </p>
  
  <p>Thanks in advance</p>