<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nowsprinting</author_name>
  <author_url>https://blog.hatena.ne.jp/nowsprinting/</author_url>
  <blog_title>やらなイカ？</blog_title>
  <blog_url>https://www.nowsprinting.com/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Testing</anon>
  </categories>
  <description>uiautomatorによるテストで、端末の回転と、スクリーンショットを撮影する方法です。 uiautomatorの設定と基本的なテストの書き方は先の記事 uiautomatorを試してみた を参照してください。 要件 uiautomator自体はAPI Level 16以上（Android 4.1）で動作しますが、端末の回転とスクリーンショット撮影には、 API Level 17以上（Android 4.2） が必要です。 端末の回転 // 横向きにしてみる（同時に、端末のセンサによる回転が抑止されます） getUiDevice().setOrientationLeft(); // 回転され…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.nowsprinting.com%2Fentry%2F2012%2F11%2F23%2F163729&quot; title=&quot;uiautomatorで端末の回転とスクリーンショット撮影 #android_tec - やらなイカ？&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-23 16:37:29</published>
  <title>uiautomatorで端末の回転とスクリーンショット撮影 #android_tec</title>
  <type>rich</type>
  <url>https://www.nowsprinting.com/entry/2012/11/23/163729</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
