android系統action大全

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 0×00000010

  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 0×00000008

  String NETWORK_TICKLE_RECEIVED_ACTION 廣播:設備收到了新的網絡 “tickle” 通知。 “android.intent.action.NETWORK_TICKLE_RECEIVED”

  int NEW_TASK_LAUNCH 啓動標記:設置以後,activity 將成爲歷史堆棧中的第一個新任務(棧頂)。 4 0×00000004

  int NO_HISTORY_LAUNCH 啓動標記:設置以後,新的 activity 不會被保存在歷史堆棧中。 1 0×00000001

  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 0×00000002

  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

 

=============================================================================

Activity總是要來回跳轉的,發現積累個ACTION列表是必要的...
1. 電話
(1) 拔打一個號碼,號碼爲傳入參數

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
if (tm.getCallState() == TelephonyManager.CALL_STATE_IDLE) { //其實,這個可以不要的,只是判斷一下當前phone的狀態,如果爲IDLE,才允許呼叫~
     Intent callIntent = new Intent(Intent.ACTION_CALL_PRIVILEGED,Uri.fromParts("tel", mNumber, null));
     startActivity(callIntent);
}


2. 短信
(1) 發送短信給一個號碼,號碼爲傳入參數

Intent SMSIntent = new Intent(Intent.ACTION_SENDTO,
                        Uri.fromParts(Constants.SCHEME_SMSTO, Number, null));
startActivity(SMSIntent);


(2) 通過短信將一個內容發送出去,內容爲傳入參數

Intent sendIntent = new Intent(Intent.ACTION_SEND);
                sendIntent.setType("text/plain");
sendIntent.putExtra("sms_body", "sms body");

//這個。。有可能系統會讓選擇用藍牙還是信息

3.

附:2.2源碼中的ACTION定義
androidsrc> grep ACTION_ frameworks/base/core/java/android/content/Intent.java | grep String

    public static final String ACTION_MAIN = "android.intent.action.MAIN";
    public static final String ACTION_VIEW = "android.intent.action.VIEW";
    public static final String ACTION_DEFAULT = ACTION_VIEW;
    public static final String ACTION_ATTACH_DATA = "android.intent.action.ATTACH_DATA";
    public static final String ACTION_EDIT = "android.intent.action.EDIT";
    public static final String ACTION_INSERT_OR_EDIT = "android.intent.action.INSERT_OR_EDIT";
    public static final String ACTION_PICK = "android.intent.action.PICK";
    public static final String ACTION_CREATE_SHORTCUT = "android.intent.action.CREATE_SHORTCUT";
    public static final String ACTION_CHOOSER = "android.intent.action.CHOOSER";
    public static final String ACTION_GET_CONTENT = "android.intent.action.GET_CONTENT";
    public static final String ACTION_DIAL = "android.intent.action.DIAL";
    public static final String ACTION_CALL = "android.intent.action.CALL";
    public static final String ACTION_CALL_EMERGENCY = "android.intent.action.CALL_EMERGENCY";
    public static final String ACTION_CALL_PRIVILEGED = "android.intent.action.CALL_PRIVILEGED";
    public static final String ACTION_IP_CALL_PRIVILEGED = "android.intent.action.IP_CALL_PRIVILEGED";
    public static final String ACTION_SENDTO = "android.intent.action.SENDTO";
    public static final String ACTION_SEND = "android.intent.action.SEND";
    public static final String ACTION_SEND_MULTIPLE = "android.intent.action.SEND_MULTIPLE";
    public static final String ACTION_ANSWER = "android.intent.action.ANSWER";
    public static final String ACTION_INSERT = "android.intent.action.INSERT";
    public static final String ACTION_DELETE = "android.intent.action.DELETE";
    public static final String ACTION_RUN = "android.intent.action.RUN";
    public static final String ACTION_SYNC = "android.intent.action.SYNC";
    public static final String ACTION_PICK_ACTIVITY = "android.intent.action.PICK_ACTIVITY";
    public static final String ACTION_SEARCH = "android.intent.action.SEARCH";
    public static final String ACTION_SYSTEM_TUTORIAL = "android.intent.action.SYSTEM_TUTORIAL";
    public static final String ACTION_WEB_SEARCH = "android.intent.action.WEB_SEARCH";
    public static final String ACTION_ALL_APPS = "android.intent.action.ALL_APPS";
    public static final String ACTION_SET_WALLPAPER = "android.intent.action.SET_WALLPAPER";
    public static final String ACTION_BUG_REPORT = "android.intent.action.BUG_REPORT";
    public static final String ACTION_FACTORY_TEST = "android.intent.action.FACTORY_TEST";
    public static final String ACTION_CALL_BUTTON = "android.intent.action.CALL_BUTTON";
    public static final String ACTION_VOICE_COMMAND = "android.intent.action.VOICE_COMMAND";
    public static final String ACTION_SEARCH_LONG_PRESS = "android.intent.action.SEARCH_LONG_PRESS";
    public static final String ACTION_APP_ERROR = "android.intent.action.APP_ERROR";
    public static final String ACTION_POWER_USAGE_SUMMARY = "android.intent.action.POWER_USAGE_SUMMARY";
    public static final String ACTION_UPGRADE_SETUP = "android.intent.action.UPGRADE_SETUP";
    public static final String ACTION_SCREEN_OFF = "android.intent.action.SCREEN_OFF";
    public static final String ACTION_SCREEN_ON = "android.intent.action.SCREEN_ON";
    public static final String ACTION_USER_PRESENT = "android.intent.action.USER_PRESENT";
    public static final String ACTION_TIME_TICK = "android.intent.action.TIME_TICK";
    public static final String ACTION_TIME_CHANGED = "android.intent.action.TIME_SET";
    public static final String ACTION_DATE_CHANGED = "android.intent.action.DATE_CHANGED";
    public static final String ACTION_TIMEZONE_CHANGED = "android.intent.action.TIMEZONE_CHANGED";
    public static final String ACTION_ALARM_CHANGED = "android.intent.action.ALARM_CHANGED";
    public static final String ACTION_SYNC_STATE_CHANGED
    public static final String ACTION_BOOT_COMPLETED = "android.intent.action.BOOT_COMPLETED";
    public static final String ACTION_CLOSE_SYSTEM_DIALOGS = "android.intent.action.CLOSE_SYSTEM_DIALOGS";
    public static final String ACTION_PACKAGE_INSTALL = "android.intent.action.PACKAGE_INSTALL";
    public static final String ACTION_PACKAGE_ADDED = "android.intent.action.PACKAGE_ADDED";
    public static final String ACTION_PACKAGE_REPLACED = "android.intent.action.PACKAGE_REPLACED";
    public static final String ACTION_PACKAGE_REMOVED = "android.intent.action.PACKAGE_REMOVED";
    public static final String ACTION_PACKAGE_CHANGED = "android.intent.action.PACKAGE_CHANGED";
    public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART";
    public static final String ACTION_PACKAGE_RESTARTED = "android.intent.action.PACKAGE_RESTARTED";
    public static final String ACTION_PACKAGE_DATA_CLEARED = "android.intent.action.PACKAGE_DATA_CLEARED";
    public static final String ACTION_UID_REMOVED = "android.intent.action.UID_REMOVED";
    public static final String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE =
    public static final String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE =
    public static final String ACTION_WALLPAPER_CHANGED = "android.intent.action.WALLPAPER_CHANGED";
    public static final String ACTION_CONFIGURATION_CHANGED = "android.intent.action.CONFIGURATION_CHANGED";
    public static final String ACTION_LOCALE_CHANGED = "android.intent.action.LOCALE_CHANGED";
    public static final String ACTION_BATTERY_CHANGED = "android.intent.action.BATTERY_CHANGED";
    public static final String ACTION_BATTERY_LOW = "android.intent.action.BATTERY_LOW";
    public static final String ACTION_BATTERY_OKAY = "android.intent.action.BATTERY_OKAY";
    public static final String ACTION_POWER_CONNECTED = "android.intent.action.ACTION_POWER_CONNECTED";
    public static final String ACTION_POWER_DISCONNECTED =
    public static final String ACTION_SHUTDOWN = "android.intent.action.ACTION_SHUTDOWN";
    public static final String ACTION_REQUEST_SHUTDOWN = "android.intent.action.ACTION_REQUEST_SHUTDOWN";
    public static final String ACTION_DEVICE_STORAGE_LOW = "android.intent.action.DEVICE_STORAGE_LOW";
    public static final String ACTION_DEVICE_STORAGE_OK = "android.intent.action.DEVICE_STORAGE_OK";
    public static final String ACTION_MANAGE_PACKAGE_STORAGE = "android.intent.action.MANAGE_PACKAGE_STORAGE";
    public static final String ACTION_UMS_CONNECTED = "android.intent.action.UMS_CONNECTED";
    public static final String ACTION_UMS_DISCONNECTED = "android.intent.action.UMS_DISCONNECTED";
    public static final String ACTION_MEDIA_REMOVED = "android.intent.action.MEDIA_REMOVED";
    public static final String ACTION_MEDIA_UNMOUNTED = "android.intent.action.MEDIA_UNMOUNTED";
    public static final String ACTION_MEDIA_CHECKING = "android.intent.action.MEDIA_CHECKING";
    public static final String ACTION_MEDIA_NOFS = "android.intent.action.MEDIA_NOFS";
    public static final String ACTION_MEDIA_MOUNTED = "android.intent.action.MEDIA_MOUNTED";
    public static final String ACTION_MEDIA_SHARED = "android.intent.action.MEDIA_SHARED";
    public static final String ACTION_MEDIA_UNSHARED = "android.intent.action.MEDIA_UNSHARED";
    public static final String ACTION_MEDIA_BAD_REMOVAL = "android.intent.action.MEDIA_BAD_REMOVAL";
    public static final String ACTION_MEDIA_UNMOUNTABLE = "android.intent.action.MEDIA_UNMOUNTABLE";
    public static final String ACTION_MEDIA_EJECT = "android.intent.action.MEDIA_EJECT";
    public static final String ACTION_MEDIA_SCANNER_STARTED = "android.intent.action.MEDIA_SCANNER_STARTED";
    public static final String ACTION_MEDIA_SCANNER_FINISHED = "android.intent.action.MEDIA_SCANNER_FINISHED";
    public static final String ACTION_MEDIA_SCANNER_SCAN_FILE = "android.intent.action.MEDIA_SCANNER_SCAN_FILE";
    public static final String ACTION_MEDIA_BUTTON = "android.intent.action.MEDIA_BUTTON";
    public static final String ACTION_CAMERA_BUTTON = "android.intent.action.CAMERA_BUTTON";
    public static final String ACTION_GTALK_SERVICE_CONNECTED =
    public static final String ACTION_GTALK_SERVICE_DISCONNECTED =
    public static final String ACTION_INPUT_METHOD_CHANGED =
    public static final String ACTION_AIRPLANE_MODE_CHANGED = "android.intent.action.AIRPLANE_MODE";
    public static final String ACTION_PROVIDER_CHANGED =
    public static final String ACTION_HEADSET_PLUG =
    public static final String ACTION_NEW_OUTGOING_CALL =
    public static final String ACTION_REBOOT =
    public static final String ACTION_DOCK_EVENT =
    public static final String ACTION_REMOTE_INTENT =
    public static final String ACTION_PRE_BOOT_COMPLETED =

 

標準的Activity Actions
ACTION_MAIN                               作爲一個主要的進入口,而並不期望去接受數據
ACTION_VIEW                              向用戶去顯示數據
ACTION_ATTACH_DATA                  別用於指定一些數據應該附屬於一些其他的地方,例如,圖片數據應該附屬於聯繫人
ACTION_EDIT                                訪問已給的數據,提供明確的可編輯
ACTION_PICK                                從數據中選擇一個子項目,並返回你所選中的項目
ACTION_CHOOSER                        顯示一個activity選擇器,允許用戶在進程之前選擇他們想要的
ACTION_GET_CONTENT                 允許用戶選擇特殊種類的數據,並返回(特殊種類的數據:照一張相片或錄一段音)
ACTION_DIAL                                撥打一個指定的號碼,顯示一個帶有號碼的用戶界面,允許用戶去啓動呼叫
ACTION_CALL                                根據指定的數據執行一次呼叫
(ACTION_CALL在應用中啓動一次呼叫有缺陷,多數應用ACTION_DIAL,ACTION_CALL不能用在緊急呼叫上,緊急呼叫可以用ACTION_DIAL來實現)
ACTION_SEND                               傳遞數據,被傳送的數據沒有指定,接收的action請求用戶發數據
ACTION_SENDTO                           發送一跳信息到指定的某人
ACTION_ANSWER                          處理一個打進電話呼叫
ACTION_INSERT                            插入一條空項目到已給的容器
ACTION_DELETE                           從容器中刪除已給的數據
ACTION_RUN                                運行數據,無論怎麼
ACTION_SYNC                              同步執行一個數據
ACTION_PICK_ACTIVITY               爲已知的Intent選擇一個Activity,返回別選中的類
ACTION_SEARCH                         執行一次搜索
ACTION_WEB_SEARCH                執行一次web搜索
ACTION_FACTORY_TEST              工場測試的主要進入點,


標準的廣播Actions
ACTION_TIME_TICK                   當前時間改變,每分鐘都發送,不能通過組件聲明來接收,只有通過Context.registerReceiver()方法來註冊
ACTION_TIME_CHANGED            時間被設置
ACTION_TIMEZONE_CHANGED   時間區改變
ACTION_

發佈了44 篇原創文章 · 獲贊 31 · 訪問量 15萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章