Android動作廣播類別訊息類型

來源:互聯網
上載者:User

String BATTERY_CHANGED_ACTION 廣播:充電狀態,或者電池的電量發生變化 "android.intent.action.BATTERY_CHANGED"

String BOOT_COMPLETED_ACTION 廣播:在系統啟動後,這個動作被廣播一次(只有一次) "android.intent.action.BOOT_COMPLETED"

String CALL_FORWARDING_STATE_CHANGED_ACTION 廣播:語音電話的來電轉接狀態已經改變 "android.intent.action.CFF"

String CONFIGURATION_CHANGED_ACTION 廣播:裝置的配置資訊已經改變,參見 Resources.Configuration. "android.intent.action.CONFIGURATION_CHANGED" Creator CREATOR 無 無

String DATA_ACTIVITY_STATE_CHANGED_ACTION 廣播:電話的資料活動(data activity)狀態(即收發資料的狀態)已經改變。"android.intent.action.DATA_ACTIVITY"

String DATA_CONNECTION_STATE_CHANGED_ACTION 廣播:電話的資料連線狀態已經改變 "android.intent.action.DATA_STATE"

String DATE_CHANGED_ACTION 廣播:日期被改變 "android.intent.action.DATE_CHANGED"

String FOTA_CANCEL_ACTION 廣播:取消所有被掛起的 (pending) 更新下載 "android.server.checkin.FOTA_CANCEL"

String FOTA_INSTALL_ACTION 廣播:更新已經被確認,馬上就要開始安裝 "android.server.checkin.FOTA_INSTALL"

String FOTA_READY_ACTION 廣播:更新已經被下載,可以開始安裝 "android.server.checkin.FOTA_READY"

String FOTA_RESTART_ACTION 廣播:恢複已經停止的更新下載 "android.server.checkin.FOTA_RESTART"

String FOTA_UPDATE_ACTION 廣播:通過 OTA 下載並安裝作業系統更新 "android.server.checkin.FOTA_UPDATE"

String MEDIABUTTON_ACTION 廣播:使用者按下了“Media Button” "android.intent.action.MEDIABUTTON"

String MEDIA_BAD_REMOVAL_ACTION 廣播:擴充介質(擴充卡)已經從 SD 記憶卡插槽拔出,但是掛載點 (mount point) 還沒解除 (unmount) "android.intent.action.MEDIA_BAD_REMOVAL"

String MEDIA_EJECT_ACTION 廣播:使用者想要移除擴充介質(拔掉擴充卡) "android.intent.action.MEDIA_EJECT"

String MEDIA_MOUNTED_ACTION 廣播:擴充介質被插入,而且已經被掛載 "android.intent.action.MEDIA_MOUNTED"

String MEDIA_REMOVED_ACTION 廣播:擴充介質被移除。 "android.intent.action.MEDIA_REMOVED"

String MEDIA_SCANNER_FINISHED_ACTION 廣播:已經掃描完介質的一個目錄 "android.intent.action.MEDIA_SCANNER_FINISHED"

String MEDIA_SCANNER_STARTED_ACTION 廣播:開始掃描介質的一個目錄 "android.intent.action.MEDIA_SCANNER_STARTED"

String MEDIA_SHARED_ACTION 廣播:擴充介質的掛載被解除 (unmount),因為它已經作為 USB 大型存放區被共用 "android.intent.action.MEDIA_SHARED"

String MEDIA_UNMOUNTED_ACTION 廣播:擴充介質存在,但是還沒有被掛載 (mount) "android.intent.action.MEDIA_UNMOUNTED"

String MESSAGE_WAITING_STATE_CHANGED_ACTION 廣播:電話的訊息等待(語音信箱)狀態已經改變 "android.intent.action.MWI"

String TIMEZONE_CHANGED_ACTION 廣播:時區已經改變 "android.intent.action.TIMEZONE_CHANGED"

String TIME_CHANGED_ACTION 廣播:時間已經改變(重新設定) "android.intent.action.TIME_SET"

String TIME_TICK_ACTION 廣播:目前時間已經變化(正常的時間流逝) "android.intent.action.TIME_TICK"

String UMS_CONNECTED_ACTION 廣播:裝置進入 USB 大型存放區模式 "android.intent.action.UMS_CONNECTED"

String UMS_DISCONNECTED_ACTION 廣播:裝置從 USB 大型存放區模式退出 "android.intent.action.UMS_DISCONNECTED"

String WALLPAPER_CHANGED_ACTION 廣播:系統的牆紙已經改變 "android.intent.action.WALLPAPER_CHANGED"

String XMPP_CONNECTED_ACTION 廣播:XMPP 串連已經被建立 "android.intent.action.XMPP_CONNECTED"

String XMPP_DISCONNECTED_ACTION 廣播:XMPP 串連已經被斷開 "android.intent.action.XMPP_DI

String NETWORK_TICKLE_RECEIVED_ACTION 廣播:裝置收到了新的網路 "tickle" 通知 "android.intent.action.NETWORK_TICKLE_RECEIVED"

String PACKAGE_ADDED_ACTION 廣播:裝置上新安裝了一個應用程式套件組合 "android.intent.action.PACKAGE_ADDED"

String PACKAGE_REMOVED_ACTION 廣播:裝置上刪除了一個應用程式套件組合 "android.intent.action.PACKAGE_REMOVED"

String PHONE_STATE_CHANGED_ACTION 廣播:電話狀態已經改變 "android.intent.action.PHONE_STATE"

String PROVIDER_CHANGED_ACTION 廣播:更新將要(真正)被安裝 "android.intent.action.PROVIDER_CHANGED"

String PROVISIONING_CHECK_ACTION 廣播:要求 polling of provisioning service 下載最新的設定 "android.intent.action.PROVISIONING_CHECK"

String SCREEN_OFF_ACTION 廣播:螢幕被關閉 "android.intent.action.SCREEN_OFF"

String SCREEN_ON_ACTION 廣播:螢幕已經被開啟 "android.intent.action.SCREEN_ON"

String SERVICE_STATE_CHANGED_ACTION 廣播:電話語音的狀態已經改變 "android.intent.action.SERVICE_STATE"

String SIGNAL_STRENGTH_CHANGED_ACTION 廣播:電話的訊號強度已經改變 "android.intent.action.SIG_STR"

String STATISTICS_REPORT_ACTION 廣播:要求 receivers 報告自己的統計資訊 "android.intent.action.STATISTICS_REPORT"

String STATISTICS_STATE_CHANGED_ACTION 廣播:統計資訊服務的狀態已經改變 "android.intent.action.STATISTICS_STATE_CHANGED"

String BROWSABLE_CATEGORY 類別:能夠被瀏覽器安全使用的 activities 必須支援這個類別 "android.intent.category.BROWSABLE"

String ALTERNATIVE_CATEGORY 類別:說明 activity 是使用者正在瀏覽的資料的一個可選操作 "android.intent.category.ALTERNATIVE"

String DEFAULT_CATEGORY 類別:如果 activity 是對資料執行確省動作(點擊, center press)的一個選項,需要設定這個類別。 "android.intent.category.DEFAULT"

String FRAMEWORK_INSTRUMENTATION_TEST_CATEGORY 類別:To be used as code under test for framework instrumentation tests. "android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"

String GADGET_CATEGORY 類別:這個 activity 可以被嵌入宿主 activity (activity that is hosting gadgets)。 "android.intent.category.GADGET"

String HOME_CATEGORY 類別:主畫面 (activity),裝置啟動後顯示的第一個 activity "android.intent.category.HOME"

String LAUNCHER_CATEGORY 類別:Activity 應該被顯示在頂級的 launcher 中"android.intent.category.LAUNCHER"

String PREFERENCE_CATEGORY 類別:activity是一個設定面板 (preference panel) "android.intent.category.PREFERENCE"

String SAMPLE_CODE_CATEGORY 類別:To be used as an sample code example (not part of the normal user experience). "android.intent.category.SAMPLE_CODE"

String SELECTED_ALTERNATIVE_CATEGORY 類別:對於被使用者選中的資料,activity 是它的一個可選操作 "android.intent.category.SELECTED_ALTERNATIVE"

String TAB_CATEGORY 類別:這個 activity 應該在 TabActivity 中作為一個 tab 使用 "android.intent.category.TAB"

String TEST_CATEGORY 類別:作為測試目的使用,不是正常的使用者體驗的一部分 "android.intent.category.TEST"

String UNIT_TEST_CATEGORY 類別:應該被用作單元測試(通過 test harness 運行) "android.intent.category.UNIT_TEST"

String WALLPAPER_CATEGORY 類別:這個 activity 能過為裝置設定牆紙 "android.intent.category.WALLPAPER"

String DEVELOPMENT_PREFERENCE_CATEGORY 類別:說明 activity 是一個設定面板 (development preference panel). "android.intent.category.DEVELOPMENT_PREFERENCE"

String EMBED_CATEGORY 類別:能夠在上級(父)activity 中運行 "android.intent.category.EMBED"

String DELETE_ACTION 動作:從容器中刪除給定的資料 "android.intent.action.DELETE"

String DEFAULT_ACTION 動作:和 VIEW_ACTION 相同,是在資料上執行的標準動作 "android.intent.action.VIEW"

String DIAL_ACTION 動作:撥打資料中指定的電話號碼 "android.intent.action.DIAL"

String EDIT_ACTION 動作:為制定的資料顯示可編輯介面 "android.intent.action.EDIT"

String EMERGENCY_DIAL_ACTION 動作:撥打緊急電話號碼 "android.intent.action.EMERGENCY_DIAL"

String GET_CONTENT_ACTION 動作:讓使用者選擇資料並返回。 "android.intent.action.GET_CONTENT"

String INSERT_ACTION 動作:在容器中插入一個空項 (item)。 "android.intent.action.INSERT"

String LOGIN_ACTION 動作:擷取登入憑證。 "android.intent.action.LOGIN"

String MAIN_ACTION 動作:作為主進入點啟動,不需要資料 "android.intent.action.MAIN"

String SETTINGS_ACTION 動作:顯示系統設定。輸入:無 "android.intent.action.SETTINGS"

String SYNC_ACTION 動作:執行資料同步 "android.intent.action.SYNC"

String WALLPAPER_SETTINGS_ACTION 動作:顯示選擇牆紙的設定介面。輸入:無 "android.intent.action.WALLPAPER_SETTINGS"

String WEB_SEARCH_ACTION 動作:執行 web 搜尋 "android.intent.action.WEB_SEARCH"

String VIEW_ACTION 動作:向使用者顯示資料 "android.intent.action.VIEW"

String SENDTO_ACTION 動作:向 data 指定的接收者發送一個訊息 "android.intent.action.SENDTO"

String RUN_ACTION 動作:運行資料(指定的應用),無論它(應用)是什麼 "android.intent.action.RUN"

String PICK_ACTION 動作:從資料中選擇一個項目 (item),將被選中的項目返回 "android.intent.action.PICK"

String PICK_ACTIVITY_ACTION 動作:選擇一個 activity,返回被選擇的 activity 的類(名) "android.intent.action.PICK_ACTIVITY"

String ADD_SHORTCUT_ACTION 動作:在系統中添加一個捷徑 "android.intent.action.ADD_SHORTCUT"

String ALL_APPS_ACTION 動作:列舉所有可用的應用 "android.intent.action.ALL_APPS"

String ANSWER_ACTION 動作:處理撥入的電話 "android.intent.action.ANSWER"

String BUG_REPORT_ACTION 動作:顯示 activity 報告錯誤 "android.intent.action.BUG_REPORT"

String CALL_ACTION 動作:撥打到電話,被呼叫的連絡人在資料中指定 "android.intent.action.CALL"

String CLEAR_CREDENTIALS_ACTION 動作:清除登陸憑證 (credential) "android.intent.action.CLEAR_CREDENTIALS"

String TEMPLATE_EXTRA 附加資料:新記錄的初始化模板 "android.intent.extra.TEMPLATE"

String INTENT_EXTRA 附加資料:和PICK_ACTIVITY_ACTION一起使用時,說明使用者選擇的用來顯示的activity和 ADD_SHORTCUT_ACTION一起使用的時候,

"android.intent.extra.INTENT"

String LABEL_EXTRA 附加資料:大寫字母開頭的字元標籤,和 ADD_SHORTCUT_ACTION 一起使用

"android.intent.extra.LABEL"

int MULTIPLE_TASK_LAUNCH 啟動標記:和 NEW_TASK_LAUNCH 聯合使用,禁止將已有的任務改變為前景任務 (foreground)。 8 0x00000008

int NEW_TASK_LAUNCH 啟動標記:設定以後,activity 將成為曆史堆棧中的第一個新任務(棧頂) 4 0x00000004

int NO_HISTORY_LAUNCH 啟動標記:設定以後,新的 activity 不會被儲存在曆史堆棧中 1 0x00000001

int SINGLE_TOP_LAUNCH 啟動標記:設定以後,如果 activity 已經啟動,而且位於曆史堆棧的頂端,將不再啟動(不重新啟動) activity 2 0x00000002

int FORWARD_RESULT_LAUNCH 啟動標記:如果這個標記被設定,而且被一個已經存在的 activity 用來啟動新的 activity,已有 activity 的回複目標 (reply target) 會被轉移給新的 activity。

String BATTERY_CHANGED_ACTION 廣播:充電狀態,或者電池的電量發生變化 "android.intent.action.BATTERY_CHANGED"

String BOOT_COMPLETED_ACTION 廣播:在系統啟動後,這個動作被廣播一次(只有一次) "android.intent.action.BOOT_COMPLETED"

String CALL_FORWARDING_STATE_CHANGED_ACTION 廣播:語音電話的來電轉接狀態已經改變 "android.intent.action.CFF"

String CONFIGURATION_CHANGED_ACTION 廣播:裝置的配置資訊已經改變,參見 Resources.Configuration. "android.intent.action.CONFIGURATION_CHANGED" Creator CREATOR 無 無

String DATA_ACTIVITY_STATE_CHANGED_ACTION 廣播:電話的資料活動(data activity)狀態(即收發資料的狀態)已經改變。"android.intent.action.DATA_ACTIVITY"

String DATA_CONNECTION_STATE_CHANGED_ACTION 廣播:電話的資料連線狀態已經改變 "android.intent.action.DATA_STATE"

String DATE_CHANGED_ACTION 廣播:日期被改變 "android.intent.action.DATE_CHANGED"

String FOTA_CANCEL_ACTION 廣播:取消所有被掛起的 (pending) 更新下載 "android.server.checkin.FOTA_CANCEL"

String FOTA_INSTALL_ACTION 廣播:更新已經被確認,馬上就要開始安裝 "android.server.checkin.FOTA_INSTALL"

String FOTA_READY_ACTION 廣播:更新已經被下載,可以開始安裝 "android.server.checkin.FOTA_READY"

String FOTA_RESTART_ACTION 廣播:恢複已經停止的更新下載 "android.server.checkin.FOTA_RESTART"

String FOTA_UPDATE_ACTION 廣播:通過 OTA 下載並安裝作業系統更新 "android.server.checkin.FOTA_UPDATE"

String MEDIABUTTON_ACTION 廣播:使用者按下了“Media Button” "android.intent.action.MEDIABUTTON"

String MEDIA_BAD_REMOVAL_ACTION 廣播:擴充介質(擴充卡)已經從 SD 記憶卡插槽拔出,但是掛載點 (mount point) 還沒解除 (unmount) "android.intent.action.MEDIA_BAD_REMOVAL"

String MEDIA_EJECT_ACTION 廣播:使用者想要移除擴充介質(拔掉擴充卡) "android.intent.action.MEDIA_EJECT"

String MEDIA_MOUNTED_ACTION 廣播:擴充介質被插入,而且已經被掛載 "android.intent.action.MEDIA_MOUNTED"

String MEDIA_REMOVED_ACTION 廣播:擴充介質被移除。 "android.intent.action.MEDIA_REMOVED"

String MEDIA_SCANNER_FINISHED_ACTION 廣播:已經掃描完介質的一個目錄 "android.intent.action.MEDIA_SCANNER_FINISHED"

String MEDIA_SCANNER_STARTED_ACTION 廣播:開始掃描介質的一個目錄 "android.intent.action.MEDIA_SCANNER_STARTED"

String MEDIA_SHARED_ACTION 廣播:擴充介質的掛載被解除 (unmount),因為它已經作為 USB 大型存放區被共用 "android.intent.action.MEDIA_SHARED"

String MEDIA_UNMOUNTED_ACTION 廣播:擴充介質存在,但是還沒有被掛載 (mount) "android.intent.action.MEDIA_UNMOUNTED"

String MESSAGE_WAITING_STATE_CHANGED_ACTION 廣播:電話的訊息等待(語音信箱)狀態已經改變 "android.intent.action.MWI"

String TIMEZONE_CHANGED_ACTION 廣播:時區已經改變 "android.intent.action.TIMEZONE_CHANGED"

String TIME_CHANGED_ACTION 廣播:時間已經改變(重新設定) "android.intent.action.TIME_SET"

String TIME_TICK_ACTION 廣播:目前時間已經變化(正常的時間流逝) "android.intent.action.TIME_TICK"

String UMS_CONNECTED_ACTION 廣播:裝置進入 USB 大型存放區模式 "android.intent.action.UMS_CONNECTED"

String UMS_DISCONNECTED_ACTION 廣播:裝置從 USB 大型存放區模式退出 "android.intent.action.UMS_DISCONNECTED"

String WALLPAPER_CHANGED_ACTION 廣播:系統的牆紙已經改變 "android.intent.action.WALLPAPER_CHANGED"

String XMPP_CONNECTED_ACTION 廣播:XMPP 串連已經被建立 "android.intent.action.XMPP_CONNECTED"

String XMPP_DISCONNECTED_ACTION 廣播:XMPP 串連已經被斷開 "android.intent.action.XMPP_DI

String NETWORK_TICKLE_RECEIVED_ACTION 廣播:裝置收到了新的網路 "tickle" 通知 "android.intent.action.NETWORK_TICKLE_RECEIVED"

String PACKAGE_ADDED_ACTION 廣播:裝置上新安裝了一個應用程式套件組合 "android.intent.action.PACKAGE_ADDED"

String PACKAGE_REMOVED_ACTION 廣播:裝置上刪除了一個應用程式套件組合 "android.intent.action.PACKAGE_REMOVED"

String PHONE_STATE_CHANGED_ACTION 廣播:電話狀態已經改變 "android.intent.action.PHONE_STATE"

String PROVIDER_CHANGED_ACTION 廣播:更新將要(真正)被安裝 "android.intent.action.PROVIDER_CHANGED"

String PROVISIONING_CHECK_ACTION 廣播:要求 polling of provisioning service 下載最新的設定 "android.intent.action.PROVISIONING_CHECK"

String SCREEN_OFF_ACTION 廣播:螢幕被關閉 "android.intent.action.SCREEN_OFF"

String SCREEN_ON_ACTION 廣播:螢幕已經被開啟 "android.intent.action.SCREEN_ON"

String SERVICE_STATE_CHANGED_ACTION 廣播:電話語音的狀態已經改變 "android.intent.action.SERVICE_STATE"

String SIGNAL_STRENGTH_CHANGED_ACTION 廣播:電話的訊號強度已經改變 "android.intent.action.SIG_STR"

String STATISTICS_REPORT_ACTION 廣播:要求 receivers 報告自己的統計資訊 "android.intent.action.STATISTICS_REPORT"

String STATISTICS_STATE_CHANGED_ACTION 廣播:統計資訊服務的狀態已經改變 "android.intent.action.STATISTICS_STATE_CHANGED"

String BROWSABLE_CATEGORY 類別:能夠被瀏覽器安全使用的 activities 必須支援這個類別 "android.intent.category.BROWSABLE"

String ALTERNATIVE_CATEGORY 類別:說明 activity 是使用者正在瀏覽的資料的一個可選操作 "android.intent.category.ALTERNATIVE"

String DEFAULT_CATEGORY 類別:如果 activity 是對資料執行確省動作(點擊, center press)的一個選項,需要設定這個類別。 "android.intent.category.DEFAULT"

String FRAMEWORK_INSTRUMENTATION_TEST_CATEGORY 類別:To be used as code under test for framework instrumentation tests. "android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"

String GADGET_CATEGORY 類別:這個 activity 可以被嵌入宿主 activity (activity that is hosting gadgets)。 "android.intent.category.GADGET"

String HOME_CATEGORY 類別:主畫面 (activity),裝置啟動後顯示的第一個 activity "android.intent.category.HOME"

String LAUNCHER_CATEGORY 類別:Activity 應該被顯示在頂級的 launcher 中"android.intent.category.LAUNCHER"

String PREFERENCE_CATEGORY 類別:activity是一個設定面板 (preference panel) "android.intent.category.PREFERENCE"

String SAMPLE_CODE_CATEGORY 類別:To be used as an sample code example (not part of the normal user experience). "android.intent.category.SAMPLE_CODE"

String SELECTED_ALTERNATIVE_CATEGORY 類別:對於被使用者選中的資料,activity 是它的一個可選操作 "android.intent.category.SELECTED_ALTERNATIVE"

String TAB_CATEGORY 類別:這個 activity 應該在 TabActivity 中作為一個 tab 使用 "android.intent.category.TAB"

String TEST_CATEGORY 類別:作為測試目的使用,不是正常的使用者體驗的一部分 "android.intent.category.TEST"

String UNIT_TEST_CATEGORY 類別:應該被用作單元測試(通過 test harness 運行) "android.intent.category.UNIT_TEST"

String WALLPAPER_CATEGORY 類別:這個 activity 能過為裝置設定牆紙 "android.intent.category.WALLPAPER"

String DEVELOPMENT_PREFERENCE_CATEGORY 類別:說明 activity 是一個設定面板 (development preference panel). "android.intent.category.DEVELOPMENT_PREFERENCE"

String EMBED_CATEGORY 類別:能夠在上級(父)activity 中運行 "android.intent.category.EMBED"

String DELETE_ACTION 動作:從容器中刪除給定的資料 "android.intent.action.DELETE"

String DEFAULT_ACTION 動作:和 VIEW_ACTION 相同,是在資料上執行的標準動作 "android.intent.action.VIEW"

String DIAL_ACTION 動作:撥打資料中指定的電話號碼 "android.intent.action.DIAL"

String EDIT_ACTION 動作:為制定的資料顯示可編輯介面 "android.intent.action.EDIT"

String EMERGENCY_DIAL_ACTION 動作:撥打緊急電話號碼 "android.intent.action.EMERGENCY_DIAL"

String GET_CONTENT_ACTION 動作:讓使用者選擇資料並返回。 "android.intent.action.GET_CONTENT"

String INSERT_ACTION 動作:在容器中插入一個空項 (item)。 "android.intent.action.INSERT"

String LOGIN_ACTION 動作:擷取登入憑證。 "android.intent.action.LOGIN"

String MAIN_ACTION 動作:作為主進入點啟動,不需要資料 "android.intent.action.MAIN"

String SETTINGS_ACTION 動作:顯示系統設定。輸入:無 "android.intent.action.SETTINGS"

String SYNC_ACTION 動作:執行資料同步 "android.intent.action.SYNC"

String WALLPAPER_SETTINGS_ACTION 動作:顯示選擇牆紙的設定介面。輸入:無 "android.intent.action.WALLPAPER_SETTINGS"

String WEB_SEARCH_ACTION 動作:執行 web 搜尋 "android.intent.action.WEB_SEARCH"

String VIEW_ACTION 動作:向使用者顯示資料 "android.intent.action.VIEW"

String SENDTO_ACTION 動作:向 data 指定的接收者發送一個訊息 "android.intent.action.SENDTO"

String RUN_ACTION 動作:運行資料(指定的應用),無論它(應用)是什麼 "android.intent.action.RUN"

String PICK_ACTION 動作:從資料中選擇一個項目 (item),將被選中的項目返回 "android.intent.action.PICK"

String PICK_ACTIVITY_ACTION 動作:選擇一個 activity,返回被選擇的 activity 的類(名) "android.intent.action.PICK_ACTIVITY"

String ADD_SHORTCUT_ACTION 動作:在系統中添加一個捷徑 "android.intent.action.ADD_SHORTCUT"

String ALL_APPS_ACTION 動作:列舉所有可用的應用 "android.intent.action.ALL_APPS"

String ANSWER_ACTION 動作:處理撥入的電話 "android.intent.action.ANSWER"

String BUG_REPORT_ACTION 動作:顯示 activity 報告錯誤 "android.intent.action.BUG_REPORT"

String CALL_ACTION 動作:撥打到電話,被呼叫的連絡人在資料中指定 "android.intent.action.CALL"

String CLEAR_CREDENTIALS_ACTION 動作:清除登陸憑證 (credential) "android.intent.action.CLEAR_CREDENTIALS"

String TEMPLATE_EXTRA 附加資料:新記錄的初始化模板 "android.intent.extra.TEMPLATE"

String INTENT_EXTRA 附加資料:和PICK_ACTIVITY_ACTION一起使用時,說明使用者選擇的用來顯示的activity和 ADD_SHORTCUT_ACTION一起使用的時候,

"android.intent.extra.INTENT"

String LABEL_EXTRA 附加資料:大寫字母開頭的字元標籤,和 ADD_SHORTCUT_ACTION 一起使用

"android.intent.extra.LABEL"

int MULTIPLE_TASK_LAUNCH 啟動標記:和 NEW_TASK_LAUNCH 聯合使用,禁止將已有的任務改變為前景任務 (foreground)。 8 0x00000008

int NEW_TASK_LAUNCH 啟動標記:設定以後,activity 將成為曆史堆棧中的第一個新任務(棧頂) 4 0x00000004

int NO_HISTORY_LAUNCH 啟動標記:設定以後,新的 activity 不會被儲存在曆史堆棧中 1 0x00000001

int SINGLE_TOP_LAUNCH 啟動標記:設定以後,如果 activity 已經啟動,而且位於曆史堆棧的頂端,將不再啟動(不重新啟動) activity 2 0x00000002

int FORWARD_RESULT_LAUNCH 啟動標記:如果這個標記被設定,而且被一個已經存在的 activity 用來啟動新的 activity,已有 activity 的回複目標 (reply target) 會被轉移給新的 activity。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.