<?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>Android2.0</anon>
  </categories>
  <description>Android上でディレクトリを作るのは凄く簡単。 File file = new File(/sdcard/hoge); file.mkdirs(); これだけで /sdcard ディレクトリに hogeディレクトリが作られる。注意する点は書き込み権限があるディレクトリでしか出来ないこと。つまり /system などの root権限が必要なディレクトリでは書き込めません。 制約はそれだけのハズ...それだけのハズなのに制約を守っても書き込めない場合があります。今回はそれについて整理する。 検証 minSdkVersionを変更してみる 3までなら書き込み可能。4以降だと書き込み失敗する。1.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhyoromo.hatenablog.com%2Fentry%2F20091220%2F1261280108&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>2009-12-20 12:35:08</published>
  <title>ディレクトリの作り方</title>
  <type>rich</type>
  <url>https://hyoromo.hatenablog.com/entry/20091220/1261280108</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
