<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hyoromo</author_name>
  <author_url>https://blog.hatena.ne.jp/hyoromo/</author_url>
  <blog_title>hyoromoのブログ</blog_title>
  <blog_url>https://hyoromo.hatenablog.com/</blog_url>
  <categories>
    <anon>Android1.6</anon>
  </categories>
  <description>毎回ググってるので整理してみた。 取得方法 画面解像度 端末の各解像度に対応する際には必須となる。 WindowManager w = getWindowManager(); Display d = w.getDefaultDisplay(); int height = d.getHeight(); int width = d.getWidth(); 壁紙解像度 壁紙に設定する際にスケールするために必要となる。Contextのメソッド。 int height = getWallpaperDesiredMinimumHeight(); int width = getWallpaperDesire…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhyoromo.hatenablog.com%2Fentry%2F20100123%2F1264244977&quot; title=&quot;画面と壁紙の解像度を取得する方法 - hyoromoのブログ&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>2010-01-23 20:09:37</published>
  <title>画面と壁紙の解像度を取得する方法</title>
  <type>rich</type>
  <url>https://hyoromo.hatenablog.com/entry/20100123/1264244977</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
