<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ch3cooh393</author_name>
  <author_url>https://blog.hatena.ne.jp/ch3cooh393/</author_url>
  <blog_title>酢ろぐ！</blog_title>
  <blog_url>https://blog.ch3cooh.jp/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>開発-Android</anon>
  </categories>
  <description>既存のAndroidアプリにアイコンバッジをつけることになりました。いままでAndroidアプリでアイコンバッジ数を厳密に管理して表示させたことがなかったので、いざ実装してみると考えていた以上に大変でした。 Playストアアプリに更新待ちが1件存在していることを示すアイコンバッジ iOSアプリの場合には、アイコンバッジの表示はUIApplication.shared.applicationIconBadgeNumber = 2で完了です。NSNumber型で取得もできるので、通知をタップされるとデクリメントすれば完了です。 Androidアプリの場合には、まず様々なメーカーが作成したホームアプ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ch3cooh.jp%2Fentry%2Fandroid%2Fupdate_icon_badge&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>https://cdn-ak.f.st-hatena.com/images/fotolife/c/ch3cooh393/20190318/20190318121938.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-08 12:13:00</published>
  <title>Androidアプリでアイコンバッジを表示させる</title>
  <type>rich</type>
  <url>https://blog.ch3cooh.jp/entry/android/update_icon_badge</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
