<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KeithYokoma</author_name>
  <author_url>https://blog.hatena.ne.jp/KeithYokoma/</author_url>
  <blog_title>Infinito Nirone 7</blog_title>
  <blog_url>https://blog.keithyokoma.dev/</blog_url>
  <categories>
  </categories>
  <description>前提条件 Service から次のように Activity を起動しようとした時、直近 5 秒以内に他の Activity を Home キーで閉じていると、startActivity の呼び出しからすぐには Activity が起動しません。 // this は Service Intent intent = new Intent(this, SomeActivity.class); // Service から起動するときには FLAG_ACTIVITY_NEW_TASK が必要 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startAct…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.keithyokoma.dev%2Fentry%2F2017%2F05%2F17%2F154800&quot; title=&quot;Context#startActivity からすぐに Activity が起動しないパターン - Infinito Nirone 7&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>2017-05-17 15:48:00</published>
  <title>Context#startActivity からすぐに Activity が起動しないパターン</title>
  <type>rich</type>
  <url>https://blog.keithyokoma.dev/entry/2017/05/17/154800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
