歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> Linux編程 >> Android 開發之廣播事件大全

Android 開發之廣播事件大全

日期:2017/3/1 10:45:06   编辑:Linux編程

String ADD_SHORTCUT_ACTION 動作:在系統中添加一個快捷方式。. "Android.intent.action.ADD_SHORTCUT"
String ALL_APPS_ACTION 動作:列舉所有可用的應用。
輸入:無。 "android.intent.action.ALL_APPS"
String ALTERNATIVE_CATEGORY 類別:說明 activity 是用戶正在浏覽的數據的一個可選操作。 "android.intent.category.ALTERNATIVE"
String ANSWER_ACTION 動作:處理撥入的電話。 "android.intent.action.ANSWER"
String BATTERY_CHANGED_ACTION 廣播:充電狀態,或者電池的電量發生變化。 "android.intent.action.BATTERY_CHANGED"
String BOOT_COMPLETED_ACTION 廣播:在系統啟動後,這個動作被廣播一次(只有一次)。 "android.intent.action.BOOT_COMPLETED"
String BROWSABLE_CATEGORY 類別:能夠被浏覽器安全使用的 activities 必須支持這個類別。 "android.intent.category.BROWSABLE"
String BUG_REPORT_ACTION 動作:顯示 activity 報告錯誤。 "android.intent.action.BUG_REPORT"
String CALL_ACTION 動作:撥打電話,被呼叫的聯系人在數據中指定。 "android.intent.action.CALL"
String CALL_FORWARDING_STATE_CHANGED_ACTION 廣播:語音電話的呼叫轉移狀態已經改變。 "android.intent.action.CFF"
String CLEAR_CREDENTIALS_ACTION 動作:清除登陸憑證 (credential)。 "android.intent.action.CLEAR_CREDENTIALS"
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 DEFAULT_ACTION 動作:和 VIEW_ACTION 相同,是在數據上執行的標准動作。 "android.intent.action.VIEW"
String DEFAULT_CATEGORY 類別:如果 activity 是對數據執行確省動作(點擊, center press)的一個選項,需要設置這個類別。 "android.intent.category.DEFAULT"
String DELETE_ACTION 動作:從容器中刪除給定的數據。 "android.intent.action.DELETE"
String DEVELOPMENT_PREFERENCE_CATEGORY 類別:說明 activity 是一個設置面板 (development preference panel). "android.intent.category.DEVELOPMENT_PREFERENCE"
String DIAL_ACTION 動作:撥打數據中指定的電話號碼。 "android.intent.action.DIAL"
String EDIT_ACTION 動作:為制定的數據顯示可編輯界面。 "android.intent.action.EDIT"
String EMBED_CATEGORY 類別:能夠在上級(父)activity 中運行。 "android.intent.category.EMBED"
String EMERGENCY_DIAL_ACTION 動作:撥打緊急電話號碼。 "android.intent.action.EMERGENCY_DIAL"
int FORWARD_RESULT_LAUNCH 啟動標記:如果這個標記被設置,而且被一個已經存在的 activity 用來啟動新的 activity,已有 activity 的回復目標 (reply target) 會被轉移給新的 activity。 16 0x00000010
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 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 GET_CONTENT_ACTION 動作:讓用戶選擇數據並返回。 "android.intent.action.GET_CONTENT"
String HOME_CATEGORY 類別:主屏幕 (activity),設備啟動後顯示的第一個 activity。 "android.intent.category.HOME"
String INSERT_ACTION 動作:在容器中插入一個空項 (item)。 "android.intent.action.INSERT"
String INTENT_EXTRA 附加數據:和 PICK_ACTIVITY_ACTION 一起使用時,說明用戶選擇的用來顯示的 activity;和 ADD_SHORTCUT_ACTION 一起使用的時候,描述要添加的快捷方式。 "android.intent.extra.INTENT"
String LABEL_EXTRA 附加數據:大寫字母開頭的字符標簽,和 ADD_SHORTCUT_ACTION 一起使用。 "android.intent.extra.LABEL"
String LAUNCHER_CATEGORY 類別:Activity 應該被顯示在頂級的 launcher 中。 "android.intent.category.LAUNCHER"
String LOGIN_ACTION 動作:獲取登錄憑證。 "android.intent.action.LOGIN"
String MAIN_ACTION 動作:作為主入口點啟動,不需要數據。 "android.intent.action.MAIN"
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"
int MULTIPLE_TASK_LAUNCH 啟動標記:和 NEW_TASK_LAUNCH 聯合使用,禁止將已有的任務改變為前景任務 (foreground)。 8 0x00000008
String NETWORK_TICKLE_RECEIVED_ACTION 廣播:設備收到了新的網絡 "tickle" 通知。 "android.intent.action.NETWORK_TICKLE_RECEIVED"
int NEW_TASK_LAUNCH 啟動標記:設置以後,activity 將成為歷史堆棧中的第一個新任務(棧頂)。 4 0x00000004
int NO_HISTORY_LAUNCH 啟動標記:設置以後,新的 activity 不會被保存在歷史堆棧中。 1 0x00000001
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 PICK_ACTION 動作:從數據中選擇一個項目 (item),將被選中的項目返回。 "android.intent.action.PICK"
String PICK_ACTIVITY_ACTION 動作:選擇一個 activity,返回被選擇的 activity 的類(名)。 "android.intent.action.PICK_ACTIVITY"
String PREFERENCE_CATEGORY 類別:activity是一個設置面板 (preference panel)。 "android.intent.category.PREFERENCE"
String PROVIDER_CHANGED_ACTION 廣播:更新將要(真正)被安裝。 "android.intent.action.PROVIDER_CHANGED"
String PROVISIONING_CHECK_ACTION 廣播:要求 polling of provisioning service 下載最新的設置。 "android.intent.action.PROVISIONING_CHECK"
String RUN_ACTION 動作:運行數據(指定的應用),無論它(應用)是什麼。 "android.intent.action.RUN"
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 SCREEN_OFF_ACTION 廣播:屏幕被關閉。 "android.intent.action.SCREEN_OFF"
String SCREEN_ON_ACTION 廣播:屏幕已經被打開。 "android.intent.action.SCREEN_ON"
String SELECTED_ALTERNATIVE_CATEGORY 類別:對於被用戶選中的數據,activity 是它的一個可選操作。 "android.intent.category.SELECTED_ALTERNATIVE"
String SENDTO_ACTION 動作:向 data 指定的接收者發送一個消息。 "android.intent.action.SENDTO"
String SERVICE_STATE_CHANGED_ACTION 廣播:電話服務的狀態已經改變。 "android.intent.action.SERVICE_STATE"
String SETTINGS_ACTION 動作:顯示系統設置。輸入:無。 "android.intent.action.SETTINGS"
String SIGNAL_STRENGTH_CHANGED_ACTION 廣播:電話的信號強度已經改變。 "android.intent.action.SIG_STR"
int SINGLE_TOP_LAUNCH 啟動標記:設置以後,如果 activity 已經啟動,而且位於歷史堆棧的頂端,將不再啟動(不重新啟動) activity。 2 0x00000002
String STATISTICS_REPORT_ACTION 廣播:要求 receivers 報告自己的統計信息。 "android.intent.action.STATISTICS_REPORT"
String STATISTICS_STATE_CHANGED_ACTION 廣播:統計信息服務的狀態已經改變。 "android.intent.action.STATISTICS_STATE_CHANGED"
String SYNC_ACTION 動作:執行數據同步。 "android.intent.action.SYNC"
String TAB_CATEGORY 類別:這個 activity 應該在 TabActivity 中作為一個 tab 使用。 "android.intent.category.TAB"
String TEMPLATE_EXTRA 附加數據:新記錄的初始化模板。 "android.intent.extra.TEMPLATE"
String TEST_CATEGORY 類別:作為測試目的使用,不是正常的用戶體驗的一部分。 "android.intent.category.TEST"
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 UNIT_TEST_CATEGORY 類別:應該被用作單元測試(通過 test harness 運行)。 "android.intent.category.UNIT_TEST"
String VIEW_ACTION 動作:向用戶顯示數據。 "android.intent.action.VIEW"
String WALLPAPER_CATEGORY 類別:這個 activity 能過為設備設置牆紙。 "android.intent.category.WALLPAPER"
String WALLPAPER_CHANGED_ACTION 廣播:系統的牆紙已經改變。 "android.intent.action.WALLPAPER_CHANGED"
String WALLPAPER_SETTINGS_ACTION 動作:顯示選擇牆紙的設置界面。輸入:無。 "android.intent.action.WALLPAPER_SETTINGS"
String WEB_SEARCH_ACTION 動作:執行 web 搜索。 "android.intent.action.WEB_SEARCH"
String XMPP_CONNECTED_ACTION 廣播:XMPP 連接已經被建立。 "android.intent.action.XMPP_CONNECTED"
String XMPP_DISCONNECTED_ACTION 廣播:XMPP 連接已經被斷開。 "android.intent.action.XMPP_DI

Copyright © Linux教程網 All Rights Reserved