Android中的Broadcast Action大全

來源:互聯網
上載者:User

android.intent.action.BATTERY_CHANGED
充電狀態,或者電池的電量發生變化

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

android.intent.action.CFF
語音電話的來電轉接狀態已經改變

android.intent.action.CONFIGURATION_CHANGED
裝置的配置資訊已經改變,參見 Resources.Configuration

android.intent.action.DATA_ACTIVITY
電話的資料活動(data activity)狀態(即收發資料的狀態)已經改變

android.intent.action.DATA_STATE
電話的資料連線狀態已經改變

android.intent.action.DATE_CHANGED
日期被改變

android.server.checkin.FOTA_CANCEL
取消所有被掛起的 (pending) 更新下載

android.server.checkin.FOTA_INSTALL
更新已經被確認,馬上就要開始安裝

android.server.checkin.FOTA_READY
更新已經被下載,可以開始安裝

android.server.checkin.FOTA_RESTART
恢複已經停止的更新下載

android.server.checkin.FOTA_UPDATE
通過 OTA 下載並安裝作業系統更新

android.intent.action.MEDIABUTTON
使用者按下了"Media Button"

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

android.intent.action.MEDIA_EJECT
使用者想要移除擴充介質(拔掉擴充卡)

android.intent.action.MEDIA_MOUNTED
擴充介質被插入,而且已經被掛載

android.intent.action.MEDIA_REMOVED
擴充介質被移除

android.intent.action.MEDIA_SCANNER_FINISHED
已經掃描完介質的一個目錄

android.intent.action.MEDIA_SCANNER_STARTED
開始掃描介質的一個目錄

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

android.intent.action.MEDIA_UNMOUNTED
擴充介質存在,但是還沒有被掛載 (mount)

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

android.intent.action.NETWORK_TICKLE_RECEIVED
裝置收到了新的網路 "tickle" 通知

android.intent.action.PACKAGE_ADDED
裝置上新安裝了一個應用程式套件組合

android.intent.action.PACKAGE_REMOVED
裝置上刪除了一個應用程式套件組合

android.intent.action.PHONE_STATE
電話狀態已經改變

android.intent.action.PROVIDER_CHANGED
更新將要(真正)被安裝

android.intent.action.PROVISIONING_CHECK
要求 polling of provisioning service 下載最新的設定

android.intent.action.SCREEN_OFF
螢幕被關閉

android.intent.action.SCREEN_ON
螢幕已經被開啟

android.intent.action.SERVICE_STATE
電話語音的狀態已經改變

android.intent.action.SIG_STR
電話的訊號強度已經改變

android.intent.action.STATISTICS_REPORT
要求 receivers 報告自己的統計資訊

android.intent.action.STATISTICS_STATE_CHANGED
統計資訊服務的狀態已經改變

android.intent.action.TIMEZONE_CHANGED
時區已經改變

android.intent.action.TIME_SET
時間已經改變(重新設定)

android.intent.action.TIME_TICK
目前時間已經變化(正常的時間流逝)

android.intent.action.UMS_CONNECTED
裝置進入 USB 大型存放區模式。

android.intent.action.UMS_DISCONNECTED
裝置從 USB 大型存放區模式退出

android.intent.action.WALLPAPER_CHANGED
系統的牆紙已經改變

android.intent.action.XMPP_CONNECTED
XMPP 串連已經被建立

android.intent.action.XMPP_DI  
XMPP 串連已經被斷開

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.