<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shokai</author_name>
  <author_url>https://blog.hatena.ne.jp/shokai/</author_url>
  <blog_title>橋本詳解</blog_title>
  <blog_url>https://shokai.hatenadiary.org/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>欲しいもの Android端末を識別したい ANDROID_IDという端末固有IDは使いたくない SIMのIDも使いたくない 機種変した時も移行させるとかめんどそう 他のアプリも使っているだろうし 変えれないと、ID漏れた時にセキュリティの人がトマホーク持って襲ってきそう 仕様 ANDROID_IDと時刻からMD5を作って、SharedPreferenceに他のアプリからは読めないpermissionで保存する事にした ID生成 1回目の呼び出しで生成、以後は保存された値を返す public String id(){ SharedPreferences pref = activity.getP…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20111120%2F1321793153&quot; title=&quot;Androidの端末IDを作る - 橋本詳解&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>2011-11-20 21:45:53</published>
  <title>Androidの端末IDを作る</title>
  <type>rich</type>
  <url>https://shokai.hatenadiary.org/entry/20111120/1321793153</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
