question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rotate Screen Orientation - Andorid

See original GitHub issue

I have used following code for rotate the screen orientation in JAVA, but it doesn’t work for me.

WebDriver augmentedDriver = new Augmenter().augment(wd);

((Rotatable)augmentedDriver).rotate(ScreenOrientation.LANDSCAPE);

Referance link : https://groups.google.com/forum/#!msg/appium-discuss/oQfobiLAXTY/Qv2xVD1jL50J

Please help me.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
beemicommented, Jul 20, 2015

driver.context(“NATIVE_APP”); driver.rotate(ScreenOrientation.LANDSCAPE); // LANDSCAPE Mode driver.rotate(ScreenOrientation.PORTRAIT); //Portrait

0reactions
lock[bot]commented, Apr 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn your Galaxy phone's or tablet's screen rotation on or off
You can make your device's screen rotate freely with Auto rotate, or lock it in one position using either Portrait or Landscape mode....
Read more >
How to Rotate Screen on Android: 5 Steps (with Pictures)
1. Open the quick settings panel. To do this, swipe down from the top of the screen. 2. Turn on Auto Rotate. This...
Read more >
4 Ways to Set Screen Orientation on Android - wikiHow Tech
Go to "Settings." Navigate to "Display." ... Tap on Auto-Rotate Screen. Toggle the setting to either "On" or "Off." When toggled off, the...
Read more >
How to Fix It When Android Screen Won't Rotate - Lifewire
Turn on Auto rotate. You'll find this setting in the Quick Settings menu. If you see Auto rotate highlighted in blue, then auto...
Read more >
Change Screen Orientation programmatically using a Button
Android -Kotlin: to make rotate X: binding.btnRotateHorizontal.setOnClickListener { requestedOrientation = ActivityInfo ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found