<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sei10sa10</author_name>
  <author_url>https://blog.hatena.ne.jp/sei10sa10/</author_url>
  <blog_title>The blog :: Memo &amp; Journal</blog_title>
  <blog_url>https://sei10sa10.hatenadiary.org/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Manager</anon>
  </categories>
  <description>連日の投稿です。今回はassetsフォルダにあるテキストファイルを読み込んで、TextViewに表示してみようと思います。 やりたいこと AssetManagerを取得する assetsフォルダのテキストファイルを読み込む 読み込んだファイルをTextViewに表示する こんな感じで読み込んだassets/lorem.txtの内容を表示 実装の要点を下記にまとめます 1. Context#getAssets()メソッドでAssetManagerを取得 AssetManager assets = getAssets(); 2. 読み込みたいファイルのassetsフォルダからの相対パス名を引数とし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsei10sa10.hatenadiary.org%2Fentry%2F20120419%2F1334848720&quot; title=&quot;軽くAssetManager - The blog :: Memo &amp;amp; Journal&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sei10sa10/20120420/20120420001005.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-19 00:18:40</published>
  <title>軽くAssetManager</title>
  <type>rich</type>
  <url>https://sei10sa10.hatenadiary.org/entry/20120419/1334848720</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
