<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itog</author_name>
  <author_url>https://blog.hatena.ne.jp/itog/</author_url>
  <blog_title>Hacking My Way 〜 itogのhack日記</blog_title>
  <blog_url>https://itog.hatenadiary.org/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>AndroidアプリケーションはGUIから起動するのが普通だが、amコマンドを使えば、コマンドラインからアプリを起動することもできる。 例えば、下記コマンドで電話帳アプリが起動する am start -a android.intent.action.MAIN -n com.android.contacts/com.android.contacts.DialtactsContactsEntryActivity アプリ起動、と言っても実際にはIntentを投げているだけで、このamコマンド、もっと汎用的にIntentを投げることができる。 usage: am [start|broadcast|in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitog.hatenadiary.org%2Fentry%2F20100622%2F1277174913&quot; title=&quot;コマンドラインからアプリを起動する - Hacking My Way 〜 itogのhack日記&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>2010-06-22 11:48:33</published>
  <title>コマンドラインからアプリを起動する</title>
  <type>rich</type>
  <url>https://itog.hatenadiary.org/entry/20100622/1277174913</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
