Hi All, 

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? 

I've checked with adb shell to change the screen to landscape:
# service call window 18 i32 1

change the screen to portrait:
# service call window 18 i32 0

But these are not working on real device.. Can any one please provide a 
better solution to do this, would really helpful for me.

Atleast share/point me to any available scripts/apks that will do this 
orientations. 

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/android-discuss/-/uTLMbxqUTLAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to