Android許可權列表permission說明

來源:互聯網
上載者:User
public static final String BROADCAST_PACKAGE_REMOVED
允許應用程式發出一個應用程式被刪除的通知。
常量值: "android.permission.BROADCAST_PACKAGE_REMOVED"

public static final String CALL_PHONE
允許應用程式發起一個撥打電話而不需要經撥號器使用者介面確認。
常量值: "android.permission.CALL_PHONE"

public static final String DUMP
允許應用程式從系統服務擷取狀態儲存資訊。
常量值: "android.permission.DUMP"

public static final String FOTA_UPDATE
常量值: "android.permission.FOTA_UPDATE"

public static final String GET_TASKS
允許應用程式獲得當前運行任務的資訊:任務的簡短描述,運行著什麼activity等。
常量值: "android.permission.GET_TASKS"

public static final String INSTALL_PACKAGES
允許應用程式安裝包。
常量值: "android.permission.INSTALL_PACKAGES"

public static final String INTERNAL_SYSTEM_WINDOW
允許應用程式開啟作為系統使用者介面的一部分的視窗。
常量值: "android.permission.INTERNAL_SYSTEM_WINDOW"

public static final String RAISED_THREAD_PRIORITY
允許應用程式擷取提升的線程優先順序,例如即時音頻重放。
常量值: "android.permission.RAISED_THREAD_PRIORITY"

public static final String READ_CONTACTS
允許應用程式目前使用者的通訊錄資料。
常量值: "android.permission.READ_CONTACTS"

public static final String RECEIVE_SMS
允許應用程式監聽收到的簡訊,並對簡訊進行記錄或執行操作。
常量值: "android.permission.RECEIVE_SMS"

public static final String RECEIVE_WAP_PUSH
允許應用程式監聽提過WAP push進來的資訊。
常量值: "android.permission.RECEIVE_WAP_PUSH"

public static final String RUN_INSTRUMENTATION
允許應用程式開始運行某個包。
常量值: "android.permission.RUN_INSTRUMENTATION"

public static final String SET_ACTIVITY_WATCHER
允許應用程式監視和控制Activity如何在系統中啟動。盡在調試狀態(通常是monkey命令)下可用。
常量值: "android.permission.SET_ACTIVITY_WATCHER"

public static final String SIGNAL_PERSISTENT_PROCESSES
允許應用程式請求一個發給所有固有進程的訊號。
常量值: "android.permission.SIGNAL_PERSISTENT_PROCESSES"

public static final String SYSTEM_ALERT_WINDOW
允許應用程式使用SYSTEM_ALERT_TYPE類型在所有其他應用程式之上顯示視窗很少有程式用到這個許可;這些視窗與使用者進行系統級的互動。
常量值: "android.permission.SYSTEM_ALERT_WINDOW"

public static final String WRITE_CONTACTS
允許應用程式寫入(不能讀取)使用者的通訊錄資料。
常量值: "android.permission.WRITE_CONTACTS"

public static final String WRITE_SETTINGS
允許應用程式讀寫使用者的通訊錄資料。
常量值: "android.permission.WRITE_SETTINGS"
建構函式

public Manifest.permission()

StringADD_SHORTCUT_ACTION動作:在系統中添加一個捷徑。. "android.intent.action.ADD_SHORTCUT"
StringALL_APPS_ACTION動作:列舉所有可用的應用。
輸入:無。"android.intent.action.ALL_APPS"
StringALTERNATIVE_CATEGORY類別:說明 activity 是使用者正在瀏覽的資料的一個可選操作。 "android.intent.category.ALTERNATIVE"
StringANSWER_ACTION動作:處理撥入的電話。"android.intent.action.ANSWER"
StringBATTERY_CHANGED_ACTION廣播:充電狀態,或者電池的電量發生變化。 "android.intent.action.BATTERY_CHANGED"
StringBOOT_COMPLETED_ACTION廣播:在系統啟動後,這個動作被廣播一次(只有一次)。 "android.intent.action.BOOT_COMPLETED"
StringBROWSABLE_CATEGORY類別:能夠被瀏覽器安全使用的 activities 必須支援這個類別。 "android.intent.category.BROWSABLE"
StringBUG_REPORT_ACTION動作:顯示 activity 報告錯誤。 "android.intent.action.BUG_REPORT"
StringCALL_ACTION動作:撥打到電話,被呼叫的連絡人在資料中指定。 "android.intent.action.CALL"
StringCALL_FORWARDING_STATE_CHANGED_ACTION廣播:語音電話的來電轉接狀態已經改變。"android.intent.action.CFF"
StringCLEAR_CREDENTIALS_ACTION動作:清除登陸憑證 (credential)。 "android.intent.action.CLEAR_CREDENTIALS"
StringCONFIGURATION_CHANGED_ACTION廣播:裝置的配置資訊已經改變,參見 Resources.Configuration."android.intent.action.CONFIGURATION_CHANGED"
CreatorCREATOR無無
StringDATA_ACTIVITY_STATE_CHANGED_ACTION廣播:電話的資料活動(data activity)狀態(即收發資料的狀態)已經改變。"android.intent.action.DATA_ACTIVITY"
StringDATA_CONNECTION_STATE_CHANGED_ACTION廣播:電話的資料連線狀態已經改變。 "android.intent.action.DATA_STATE"
StringDATE_CHANGED_ACTION廣播:日期被改變。 "android.intent.action.DATE_CHANGED"
StringDEFAULT_ACTION動作:和 VIEW_ACTION 相同,是在資料上執行的標準動作。 "android.intent.action.VIEW"
StringDEFAULT_CATEGORY類別:如果 activity 是對資料執行確省動作(點擊, center press)的一個選項,需要設定這個類別。"android.intent.category.DEFAULT"
StringDELETE_ACTION動作:從容器中刪除給定的資料。"android.intent.action.DELETE"
StringDEVELOPMENT_PREFERENCE_CATEGORY類別:說明 activity 是一個設定面板 (development preference panel)."android.intent.category.DEVELOPMENT_PREFERENCE"
StringDIAL_ACTION動作:撥打資料中指定的電話號碼。"android.intent.action.DIAL"
StringEDIT_ACTION動作:為制定的資料顯示可編輯介面。"android.intent.action.EDIT"
StringEMBED_CATEGORY類別:能夠在上級(父)activity 中運行。 "android.intent.category.EMBED"
StringEMERGENCY_DIAL_ACTION動作:撥打緊急電話號碼。 "android.intent.action.EMERGENCY_DIAL"
intFORWARD_RESULT_LAUNCH啟動標記:如果這個標記被設定,而且被一個已經存在的 activity 用來啟動新的 activity,已有 activity 的回複目標 (reply target) 會被轉移給新的 activity。16 0x00000010
StringFOTA_CANCEL_ACTION廣播:取消所有被掛起的 (pending) 更新下載。 "android.server.checkin.FOTA_CANCEL"
StringFOTA_INSTALL_ACTION廣播:更新已經被確認,馬上就要開始安裝。 "android.server.checkin.FOTA_INSTALL"
StringFOTA_READY_ACTION廣播:更新已經被下載,可以開始安裝。 "android.server.checkin.FOTA_READY"
StringFOTA_RESTART_ACTION廣播:恢複已經停止的更新下載。 "android.server.checkin.FOTA_RESTART"
StringFOTA_UPDATE_ACTION廣播:通過 OTA 下載並安裝作業系統更新。 "android.server.checkin.FOTA_UPDATE"
StringFRAMEWORK_INSTRUMENTATION_TEST_CATEGORY類別:To be used as code under test for framework instrumentation tests. "android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST"
StringGADGET_CATEGORY類別:這個 activity 可以被嵌入宿主 activity (activity that is hosting gadgets)。"android.intent.category.GADGET"
StringGET_CONTENT_ACTION動作:讓使用者選擇資料並返回。 "android.intent.action.GET_CONTENT"
StringHOME_CATEGORY類別:主畫面 (activity),裝置啟動後顯示的第一個 activity。 "android.intent.category.HOME"
StringINSERT_ACTION動作:在容器中插入一個空項 (item)。"android.intent.action.INSERT"
StringINTENT_EXTRA附加資料:和 PICK_ACTIVITY_ACTION 一起使用時,說明使用者選擇的用來顯示的 activity;和 ADD_SHORTCUT_ACTION 一起使用的時候,描述要添加的捷徑。 "android.intent.extra.INTENT"
StringLABEL_EXTRA附加資料:大寫字母開頭的字元標籤,和 ADD_SHORTCUT_ACTION 一起使用。"android.intent.extra.LABEL"
StringLAUNCHER_CATEGORY類別:Activity 應該被顯示在頂級的 launcher 中。 "android.intent.category.LAUNCHER"
StringLOGIN_ACTION動作:擷取登入憑證。"android.intent.action.LOGIN"
StringMAIN_ACTION動作:作為主進入點啟動,不需要資料。"android.intent.action.MAIN"
StringMEDIABUTTON_ACTION廣播:使用者按下了“Media Button”。 "android.intent.action.MEDIABUTTON"
StringMEDIA_BAD_REMOVAL_ACTION廣播:擴充介質(擴充卡)已經從 SD 記憶卡插槽拔出,但是掛載點 (mount point) 還沒解除 (unmount)。"android.intent.action.MEDIA_BAD_REMOVAL"
StringMEDIA_EJECT_ACTION廣播:使用者想要移除擴充介質(拔掉擴充卡)。 "android.intent.action.MEDIA_EJECT"
StringMEDIA_MOUNTED_ACTION廣播:擴充介質被插入,而且已經被掛載。 "android.intent.action.MEDIA_MOUNTED"
StringMEDIA_REMOVED_ACTION廣播:擴充介質被移除。 "android.intent.action.MEDIA_REMOVED"
StringMEDIA_SCANNER_FINISHED_ACTION廣播:已經掃描完介質的一個目錄。 "android.intent.action.MEDIA_SCANNER_FINISHED"
StringMEDIA_SCANNER_STARTED_ACTION廣播:開始掃描介質的一個目錄。 "android.intent.action.MEDIA_SCANNER_STARTED"
StringMEDIA_SHARED_ACTION廣播:擴充介質的掛載被解除 (unmount),因為它已經作為 USB 大型存放區被共用。"android.intent.action.MEDIA_SHARED"
StringMEDIA_UNMOUNTED_ACTION廣播:擴充介質存在,但是還沒有被掛載 (mount)。 "android.intent.action.MEDIA_UNMOUNTED"
StringMESSAGE_WAITING_STATE_CHANGED_ACTION廣播:電話的訊息等待(語音信箱)狀態已經改變。"android.intent.action.MWI"
intMULTIPLE_TASK_LAUNCH啟動標記:和 NEW_TASK_LAUNCH 聯合使用,禁止將已有的任務改變為前景任務 (foreground)。8 0x00000008
StringNETWORK_TICKLE_RECEIVED_ACTION廣播:裝置收到了新的網路 "tickle" 通知。 "android.intent.action.NETWORK_TICKLE_RECEIVED"
intNEW_TASK_LAUNCH啟動標記:設定以後,activity 將成為曆史堆棧中的第一個新任務(棧頂)。4 0x00000004
intNO_HISTORY_LAUNCH啟動標記:設定以後,新的 activity 不會被儲存在曆史堆棧中。1 0x00000001
StringPACKAGE_ADDED_ACTION廣播:裝置上新安裝了一個應用程式套件組合。 "android.intent.action.PACKAGE_ADDED"
StringPACKAGE_REMOVED_ACTION廣播:裝置上刪除了一個應用程式套件組合。 "android.intent.action.PACKAGE_REMOVED"
StringPHONE_STATE_CHANGED_ACTION廣播:電話狀態已經改變。 "android.intent.action.PHONE_STATE"
StringPICK_ACTION動作:從資料中選擇一個項目 (item),將被選中的項目返回。 "android.intent.action.PICK"
StringPICK_ACTIVITY_ACTION動作:選擇一個 activity,返回被選擇的 activity 的類(名)。 "android.intent.action.PICK_ACTIVITY"
StringPREFERENCE_CATEGORY類別:activity是一個設定面板 (preference panel)。 "android.intent.category.PREFERENCE"
StringPROVIDER_CHANGED_ACTION廣播:更新將要(真正)被安裝。 "android.intent.action.PROVIDER_CHANGED"
StringPROVISIONING_CHECK_ACTION廣播:要求 polling of provisioning service 下載最新的設定。"android.intent.action.PROVISIONING_CHECK"
StringRUN_ACTION動作:運行資料(指定的應用),無論它(應用)是什麼。 "android.intent.action.RUN"
StringSAMPLE_CODE_CATEGORY類別:To be used as an sample code example (not part of the normal user experience)."android.intent.category.SAMPLE_CODE"
StringSCREEN_OFF_ACTION廣播:螢幕被關閉。"android.intent.action.SCREEN_OFF"
StringSCREEN_ON_ACTION廣播:螢幕已經被開啟。"android.intent.action.SCREEN_ON"
StringSELECTED_ALTERNATIVE_CATEGORY類別:對於被使用者選中的資料,activity 是它的一個可選操作。"android.intent.category.SELECTED_ALTERNATIVE"
StringSENDTO_ACTION動作:向 data 指定的接收者發送一個訊息。 "android.intent.action.SENDTO"
StringSERVICE_STATE_CHANGED_ACTION廣播:電話語音的狀態已經改變。 "android.intent.action.SERVICE_STATE"
StringSETTINGS_ACTION動作:顯示系統設定。輸入:無。"android.intent.action.SETTINGS"
StringSIGNAL_STRENGTH_CHANGED_ACTION廣播:電話的訊號強度已經改變。 "android.intent.action.SIG_STR"
intSINGLE_TOP_LAUNCH啟動標記:設定以後,如果 activity 已經啟動,而且位於曆史堆棧的頂端,將不再啟動(不重新啟動) activity。2 0x00000002
StringSTATISTICS_REPORT_ACTION廣播:要求 receivers 報告自己的統計資訊。 "android.intent.action.STATISTICS_REPORT"
StringSTATISTICS_STATE_CHANGED_ACTION廣播:統計資訊服務的狀態已經改變。 "android.intent.action.STATISTICS_STATE_CHANGED"
StringSYNC_ACTION動作:執行資料同步。"android.intent.action.SYNC"
StringTAB_CATEGORY類別:這個 activity 應該在 TabActivity 中作為一個 tab 使用。 "android.intent.category.TAB"
StringTEMPLATE_EXTRA附加資料:新記錄的初始化模板。"android.intent.extra.TEMPLATE"
StringTEST_CATEGORY類別:作為測試目的使用,不是正常的使用者體驗的一部分。 "android.intent.category.TEST"
StringTIMEZONE_CHANGED_ACTION廣播:時區已經改變。 "android.intent.action.TIMEZONE_CHANGED"
StringTIME_CHANGED_ACTION廣播:時間已經改變(重新設定)。 "android.intent.action.TIME_SET"
StringTIME_TICK_ACTION廣播:目前時間已經變化(正常的時間流逝)。 "android.intent.action.TIME_TICK"
StringUMS_CONNECTED_ACTION廣播:裝置進入 USB 大型存放區模式。 "android.intent.action.UMS_CONNECTED"
StringUMS_DISCONNECTED_ACTION廣播:裝置從 USB 大型存放區模式退出。 "android.intent.action.UMS_DISCONNECTED"
StringUNIT_TEST_CATEGORY類別:應該被用作單元測試(通過 test harness 運行)。 "android.intent.category.UNIT_TEST"
StringVIEW_ACTION動作:向使用者顯示資料。"android.intent.action.VIEW"
StringWALLPAPER_CATEGORY類別:這個 activity 能過為裝置設定牆紙。 "android.intent.category.WALLPAPER"
StringWALLPAPER_CHANGED_ACTION廣播:系統的牆紙已經改變。 "android.intent.action.WALLPAPER_CHANGED"
StringWALLPAPER_SETTINGS_ACTION動作:顯示選擇牆紙的設定介面。輸入:無。 "android.intent.action.WALLPAPER_SETTINGS"
StringWEB_SEARCH_ACTION動作:執行 web 搜尋。"android.intent.action.WEB_SEARCH"
StringXMPP_CONNECTED_ACTION廣播:XMPP 串連已經被建立。 "android.intent.action.XMPP_CONNECTED"
StringXMPP_DISCONNECTED_ACTION廣播:XMPP 串連已經被斷開。 "android.intent.action.XMP

相關文章

聯繫我們

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