intent-filter調査
公開されているソース(Android-2.1)からActivityのintent-filterの定義がどうなっているか少しまとめてみました。
Activityで呼び出し元等をチェックする場合もあるので、この通りすべて受け付けられる保証はありません。
name | activity | action | category | data/scheme | data/mimeType | notes |
Browser | BrowserActivity | VIEW | BROWSABLE, DEFAULT | "http","https","about","javascript" | - | |
Browser | BrowserActivity | VIEW | BROWSABLE, DEFAULT | "http","https","inline" | "text/html","text/plain","application/xhtml+xml" | |
Browser | BrowserActivity | VIEW | BROWSABLE, DEFAULT | "http","https","inline" | "application/vnd.wap.xhtml+xml" | |
Browser | BrowserActivity | MAIN | DEFAULT, LAUNCHER, BROWSABLE | - | - | |
Browser | BrowserActivity | WEB_SEARCH | DEFAULT, BROWSABLE | "","http","https" | - | |
Browser | BrowserActivity | MEDIA_SEARCH | DEFAULT | - | - | |
Browser | BrowserActivity | SEARCH | DEFAULT | - | - | |
Browser | ShortcutBookmarksPage | CREATE_SHORTCUT | DEFAULT | - | - | |
Browser | BookmarkSearch | SEARCH | DEFAULT | - | - | |
Browser | BookmarkSearch | SEARCH | DEFAULT | - | - | |
Browser | AddBookmarkPage | INSERT | DEFAULT | - | "vnd.android.cursor.dir/bookmark" | |
Browser | android.webkit.PluginActivity | "android.intent.webkit.PLUGIN" | DEFAULT | - | "vnd.android.cursor.dir/bookmark" | |
.activity.Welcome | MAIN | DEFAULT, LAUNCHER | - | - | ||
.activity.AccountShortcutPicker | CREATE_SHORTCUT | DEFAULT | - | - | ||
.activity.MessageCompose | VIEW, SENDTO | DEFAULT, BROWSABLE | "mailto" | - | ||
.activity.MessageCompose | SEND | DEFAULT | - | "*/*" | ||
.activity.MessageCompose | SEND_MULTIPLE | DEFAULT | - | "*/*" | ||
Camera | Camera | MAIN | DEFAULT, LAUNCHER | - | - | |
Camera | Camera | "android.media.action.IMAGE_CAPTURE" | DEFAULT | - | - | |
Camera | Camera | "android.media.action.STILL_IMAGE_CAMERA" | DEFAULT | - | - | |
Camera | VideoCamera | "android.media.action.VIDEO_CAMERA" | DEFAULT | - | - | |
Camera | VideoCamera | "android.media.action.VIDEO_CAPTURE" | DEFAULT | - | - | |
Calendar | LaunchActivity | MAIN | DEFAULT, LAUNCHER | - | - | |
Calendar | EditEvent | EDIT | DEFAULT | - | "vnd.android.cursor.item/event" | |
Calendar | EventInfoActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/event" | |
Calendar | GoogleCalendarUriIntentFilter | VIEW | DEFAULT, BROWSABLE | "http"(*3, *4),"https"(*3, *4) | - | |
Contacts | TwelveKeyDialer | "com.android.phone.action.TOUCH_DIALER" | DEFAULT, TAB | - | - | |
Contacts | RecentCallsListActivity | "com.android.phone.action.RECENT_CALLS" | DEFAULT, TAB | - | - | |
Contacts | DialtactsActivity | DIAL | DEFAULT, BROWSABLE | - | "vnd.android.cursor.item/phone" | Tabコンテナ向け |
Contacts | DialtactsActivity | DIAL | DEFAULT, BROWSABLE | - | "vnd.android.cursor.item/person" | Tabコンテナ向け |
Contacts | DialtactsActivity | DIAL | DEFAULT, BROWSABLE | "voicemail" | - | Tabコンテナ向け |
Contacts | DialtactsActivity | DIAL | DEFAULT | - | - | Tabコンテナ向け |
Contacts | DialtactsActivity | MAIN | DEFAULT, LAUNCHER, BROWSABLE | - | - | Tabコンテナ向け |
Contacts | DialtactsActivity | VIEW, DIAL | DEFAULT, BROWSABLE | "tel" | - | Tabコンテナ向け |
Contacts | DialtactsActivity | VIEW | DEFAULT, BROWSABLE | - | "vnd.android.cursor.dir/calls" | Tabコンテナ向け |
Contacts | DialtactsActivity | CALL_BUTTON | DEFAULT, BROWSABLE | - | - | Tabコンテナ向け |
Contacts | DialtactsContactsEntryActivity | MAIN | DEFAULT, LAUNCHER, BROWSABLE | - | - | Tabコンテナ向け |
Contacts | DialtactsContactsEntryActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/phone"(*1) | Tabコンテナ向け |
Contacts | DialtactsContactsEntryActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/person"(*2) | Tabコンテナ向け |
Contacts | DialtactsContactsEntryActivity | "com.android.contacts.action.FILTER_CONTACTS" | DEFAULT | - | - | Tabコンテナ向け |
Contacts | DialtactsFavoritesEntryActivity | MAIN | DEFAULT | - | - | Tabコンテナ向け |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_DEFAULT" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_CONTACTS" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_ALL_CONTACTS" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_STARRED" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_FREQUENT" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | "com.android.contacts.action.LIST_STREQUENT" | DEFAULT, TAB | - | - | |
Contacts | ContactsListActivity | INSERT_OR_EDIT | DEFAULT | - | "vnd.android.cursor.item/person" | |
Contacts | ContactsListActivity | INSERT_OR_EDIT | DEFAULT | - | "vnd.android.cursor.item/contact" | |
Contacts | ContactsListActivity | INSERT_OR_EDIT | DEFAULT | - | "vnd.android.cursor.item/raw_contact" | |
Contacts | ContactsListActivity | PICK | DEFAULT | - | "vnd.android.cursor.dir/contact"(*2) | |
Contacts | ContactsListActivity | PICK | DEFAULT | - | "vnd.android.cursor.dir/person"(*1) | |
Contacts | ContactsListActivity | PICK | DEFAULT | - | "vnd.android.cursor.dir/phone_v2"(*2) | |
Contacts | ContactsListActivity | PICK | DEFAULT | - | "vnd.android.cursor.dir/phone"(*1) | |
Contacts | ContactsListActivity | PICK | DEFAULT | - | "vnd.android.cursor.dir/postal-address_v2"(*2) | |
Contacts | ContactsListActivity | PICK | DEFAULT | - | "vnd.android.cursor.dir/postal-address"(*1) | |
Contacts | ContactsListActivity | GET_CONTENT | DEFAULT | - | "vnd.android.cursor.dir/contact"(*2) | |
Contacts | ContactsListActivity | GET_CONTENT | DEFAULT | - | "vnd.android.cursor.dir/person"(*1) | |
Contacts | ContactsListActivity | GET_CONTENT | DEFAULT | - | "vnd.android.cursor.dir/phone_v2"(*2) | |
Contacts | ContactsListActivity | GET_CONTENT | DEFAULT | - | "vnd.android.cursor.dir/phone"(*1) | |
Contacts | ContactsListActivity | GET_CONTENT | DEFAULT | - | "vnd.android.cursor.dir/postal-address_v2"(*2) | |
Contacts | ContactsListActivity | GET_CONTENT | DEFAULT | - | "vnd.android.cursor.dir/postal-address"(*1) | |
Contacts | ContactsListActivity | SEARCH | DEFAULT | - | - | |
Contacts | ContactsListActivity$JoinContactActivity | com.android.contacts.action.JOIN_AGGREGATE | DEFAULT | - | - | |
Contacts | .ui.ShowOrCreateActivity | com.android.contacts.action.SHOW_OR_CREATE_CONTACT | DEFAULT | "mailto", "tel" | - | |
Contacts | .ui.QuickContactActivity | com.android.contacts.action.QUICK_CONTACT | DEFAULT | - | "vnd.android.cursor.item/contact"(*2) | |
Contacts | ContactShortcut | CREATE_SHORTCUT | DEFAULT | - | - | |
Contacts | alias.DialShortcut | CREATE_SHORTCUT | DEFAULT | - | - | |
Contacts | alias.MessageShortcut | CREATE_SHORTCUT | DEFAULT | - | - | |
Contacts | CallDetailActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/calls" | |
Contacts | ViewContactActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/person"(*1) | |
Contacts | ViewContactActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/contact"(*2) | |
Contacts | ViewContactActivity | VIEW | DEFAULT | - | "vnd.android.cursor.item/raw_contact"(*2) | |
Contacts | .ui.EditContactActivity | EDIT | DEFAULT | - | "vnd.android.cursor.item/person"(*1) | |
Contacts | .ui.EditContactActivity | EDIT | DEFAULT | - | "vnd.android.cursor.item/contact"(*2) | |
Contacts | .ui.EditContactActivity | EDIT | DEFAULT | - | "vnd.android.cursor.item/raw_contact"(*2) | |
Contacts | .ui.EditContactActivity | INSERT | DEFAULT | - | "vnd.android.cursor.dir/person" | |
Contacts | .ui.EditContactActivity | INSERT | DEFAULT | - | "vnd.android.cursor.dir/contact" | |
Contacts | .ui.EditContactActivity | INSERT | DEFAULT | - | "vnd.android.cursor.dir/raw_contact" | |
Contacts | ContactOptionsActivity | EDIT | DEFAULT | - | - | |
Contacts | AttachImage | ATTACH_DATA | DEFAULT | - | "image/*" | |
Contacts | .ContactsLiveFolders$AllContacts | CREATE_LIVE_FOLDER | DEFAULT | - | - | |
Contacts | .ContactsLiveFolders$StarredContacts | CREATE_LIVE_FOLDER | DEFAULT | - | - | |
Contacts | .ContactsLiveFolders$PhoneContacts | CREATE_LIVE_FOLDER | DEFAULT | - | - | |
Mushroom | (simejiから呼び出される) | "com.adamrocker.android.simeji.ACTION_INTERCEPT" | "com.adamrocker.android.simeji.REPLACE" | - | - | *5 |
*1 host="contacts"
*2 host="com.android.contacts"
*3 host="www.google.com", pathPrefix="/calendar/event"
*4 host="www.google.com", pathPattern="/calendar/hosted/.*/event"
*5 詳細は次のページ参照 http://www.adamrocker.com/blog/mushroom-collaborates-with-simeji/