<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s_sikisya</author_name>
  <author_url>https://blog.hatena.ne.jp/s_sikisya/</author_url>
  <blog_title>真実の楽譜（フルスコア）</blog_title>
  <blog_url>https://truthfullscore.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>Android</anon>
  </categories>
  <description>Androidで無造作にデータを保存して、 空き容量が無いってことをしないために。検索でよく引っかかったのが StatFsクラスのgetAvailableBlocksメソッドを使う以下の例 long freeByteSize = 0; String state = Environment.getExternalStorageState(); //外部保存領域が使用可能かチェック if(Environment.MEDIA_MOUNTED.equals(state) || Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) { //サイズ取得 St…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftruthfullscore.hatenablog.com%2Fentry%2F2014%2F01%2F07%2F121157&quot; title=&quot;Androidで外部保存域の空き容量を取得する - 真実の楽譜（フルスコア）&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>2014-01-07 12:11:57</published>
  <title>Androidで外部保存域の空き容量を取得する</title>
  <type>rich</type>
  <url>https://truthfullscore.hatenablog.com/entry/2014/01/07/121157</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
