<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>misyobun</author_name>
  <author_url>https://blog.hatena.ne.jp/misyobun/</author_url>
  <blog_title>未処分利益</blog_title>
  <blog_url>https://vagrantup.jp/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>Androidアプリを開発している人から「新しい画面に遷移したら、それまでの全てのActivityを消したいんだけど、どうやるのかな？」という質問があった。 どうやら画面遷移時に下記のコードを試してみたところ、期待していた動作が得られなかったとのことだ。 Intent intent = new Intent(getApplicationContext(), NextActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(inte…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvagrantup.jp%2Fentry%2F2017%2F02%2F17%2F085722&quot; title=&quot;Finish this activity, and tries to finish all activities immediately below it in the current task that have the same affinity - 未処分利益&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/m/misyobun/20170217/20170217014653.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-02-17 08:57:22</published>
  <title>Finish this activity, and tries to finish all activities immediately below it in the current task that have the same affinity</title>
  <type>rich</type>
  <url>https://vagrantup.jp/entry/2017/02/17/085722</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
