<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kristallna</author_name>
  <author_url>https://blog.hatena.ne.jp/kristallna/</author_url>
  <blog_title>iPhoneアプリ開発者の為のAndroidアプリ開発のポイント（現忘備録）</blog_title>
  <blog_url>https://kristallna.hatenadiary.org/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>起動時にネット通信をして画像やデータをダウンロードするアプリの場合 ダウンロードが出来ているかをファイル数でカウントする場合があると思う ファイル数のカウントはlengthで可能files以下のファイル数をカウントする場合 File dir = new File (&quot;/data/data/&quot; + this.getPackageName()+&quot;/files/&quot;); File[] files=dir.listFiles(); Log.v(&quot;file count&quot;, &quot; ： &quot; + files.length); ちなみに削除する場合は File file = new File(&quot;/data/data…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkristallna.hatenadiary.org%2Fentry%2F20101126%2F1290751102&quot; title=&quot;File操作　ファイル数カウント　ファイル削除 - iPhoneアプリ開発者の為の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>2010-11-26 14:58:22</published>
  <title>File操作　ファイル数カウント　ファイル削除</title>
  <type>rich</type>
  <url>https://kristallna.hatenadiary.org/entry/20101126/1290751102</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
