乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      android開發(fā):Manifest.permission常用的權(quán)限

       昵稱29079058 2016-09-19
       
      使用格式:<uses-permission android:name="android.permission.INTERNET"/>
       
      網(wǎng)絡(luò)相關(guān)的:

      android.permission.INTERNET 允許程序打開網(wǎng)絡(luò)套接字

       android.permission.CHANGE_NETWORK_STATE 允許程序改變網(wǎng)絡(luò)連接狀態(tài) 

      android.permission.ACCESS_NETWORK_STATE   允許程序訪問有關(guān)GSM網(wǎng)絡(luò)信息

       

      位置相關(guān):

      android.permission.WRITE_GSERVICES
      允許程序修改Google服務(wù)地圖(Allows an application to modify the Google service map. )


      android.permission.ACCESS_COARSE_LOCATION
      允許一個程序訪問CellID或WiFi熱點來獲取粗略的位置(Allows an application to access coarse (e.g., Cell-ID, WiFi) location)

      android.permission.ACCESS_FINE_LOCATION
      允許一個程序訪問精良位置(如GPS) (Allows an application to access fine (e.g., GPS) location)

      android.permission.ACCESS_LOCATION_EXTRA_COMMANDS
      允許應(yīng)用程序訪問額外的位置提供命令(Allows an application to access extra location provider commands)

      android.permission.ACCESS_MOCK_LOCATION
      允許程序創(chuàng)建模擬位置提供用于測試(Allows an application to create mock location providers for testing)

      android.permission.CONTROL_LOCATION_UPDATES
      允許啟用禁止位置更新提示從無線模塊(Allows enabling/disabling location update notifications from the radio. )


       

      wifi相關(guān):

      android.permission.ACCESS_COARSE_LOCATION   允許一個程序訪問CellID或WiFi熱點來獲取粗略的位置

      android.permission.ACCESS_WIFI_STATE   允許程序訪問Wi-Fi網(wǎng)絡(luò)狀態(tài)信息

      android.permission.CHANGE_WIFI_STATE   允許程序改變Wi-Fi連接狀態(tài)

       

      藍牙相關(guān):

      android.permission.BLUETOOTH   允許程序連接到已配對的藍牙設(shè)備

      android.permission.BLUETOOTH_ADMIN   允許程序發(fā)現(xiàn)和配對藍牙設(shè)備

       

      廣播:

      android.permission.BROADCAST_PACKAGE_REMOVED
      允許程序廣播一個提示消息在一個應(yīng)用程序包已經(jīng)移除后(Allows an application to broadcast a notification that an application package has been removed)

      android.permission.BROADCAST_STICKY
      允許一個程序廣播常用intents(Allows an application to broadcast sticky intents)

      android.permission.RECEIVE_BOOT_COMPLETED
      允許一個程序接收到 ACTION_BOOT_COMPLETED廣播在系統(tǒng)完成啟動(Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting. )

       

      短信相關(guān):

      android.permission.READ_SMS
      允許程序讀取短信息(Allows an application to read SMS messages.)

      android.permission.RECEIVE_SMS
      允許程序監(jiān)控一個將收到短信息,記錄或處理(Allows an application to monitor incoming SMS messages, to record or perform processing on them.)

      android.permission.SEND_SMS
      允許程序發(fā)送SMS短信(Allows an application to send SMS messages)

      android.permission.WRITE_SMS
      允許程序?qū)懚绦?Allows an application to write SMS messages)

      android.permission.RECEIVE_MMS
      允許一個程序監(jiān)控將收到MMS彩信,記錄或處理(Allows an application to monitor incoming MMS messages, to record or perform processing on them. )

      android.permission.RECEIVE_WAP_PUSH
      允許程序監(jiān)控將收到WAP PUSH信息(Allows an application to monitor incoming WAP push messages. )

       

      撥打電話相關(guān):


      android.permission.CALL_PHONE
      允許一個程序初始化一個電話撥號不需通過撥號用戶界面需要用戶確認(Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed.)

      android.permission.CALL_PRIVILEGED
      允許一個程序撥打任何號碼,包含緊急號碼無需通過撥號用戶界面需要用戶確認(Allows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being placed)

      android.permission.PROCESS_OUTGOING_CALLS
      允許程序監(jiān)視、修改有關(guān)播出電話(Allows an application to monitor, modify, or abort outgoing calls)


      android.permission.READ_CONTACTS
      允許程序讀取用戶聯(lián)系人數(shù)據(jù)(Allows an application to read the user’s contacts data.)

      android.permission.WRITE_CONTACTS
      允許程序?qū)懭氲蛔x取用戶聯(lián)系人數(shù)據(jù)(Allows an application to write (but not read) the user’s contacts data. )

       


      系統(tǒng)級權(quán)限:

      android.permission.ADD_SYSTEM_SERVICE
      允許程序發(fā)布系統(tǒng)級服務(wù)(Allows an application to publish system-level services).

      android.permission.MANAGE_APP_TOKENS
      允許程序管理(創(chuàng)建、催后、 z- order默認向z軸推移)程序引用在窗口管理器中(Allows an application to manage (create, destroy, Z-order) application tokens in the window manager. )

      android.permission.DUMP
      允許程序返回狀態(tài)抓取信息從系統(tǒng)服務(wù)(Allows an application to retrieve state dump information from system services.)

      android.permission.INTERNAL_SYSTEM_WINDOW
      允許打開窗口使用系統(tǒng)用戶界面(Allows an application to open windows that are for use by parts of the system user interface. )

      android.permission.MOUNT_UNMOUNT_FILESYSTEMS
      允許掛載和反掛載文件系統(tǒng)可移動存儲(Allows mounting and unmounting file systems for removable storage. )

      android.permission.READ_LOGS
      允許程序讀取底層系統(tǒng)日志文件(Allows an application to read the low-level system log files. )

      android.permission.RECEIVE_BOOT_COMPLETED
      允許一個程序接收到 ACTION_BOOT_COMPLETED廣播在系統(tǒng)完成啟動(Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting. )

      android.permission.SET_ACTIVITY_WATCHER
      允許程序監(jiān)控或控制activities已經(jīng)啟動全局系統(tǒng)中Allows an application to watch and control how activities are started globally in the system.

      android.permission.WRITE_SETTINGS
      允許程序讀取或?qū)懭胂到y(tǒng)設(shè)置(Allows an application to read or write the system settings. )

      android.permission.WRITE_SYNC_SETTINGS
      允許程序?qū)懭胪皆O(shè)置(Allows applications to write the sync settings)

       

       

       


      訪問設(shè)備相關(guān):

      android.permission.HARDWARE_TEST
      允許訪問硬件(Allows access to hardware peripherals. )


      android.permission.BRICK
      請求能夠禁用設(shè)備(非常危險)(Required to be able to disable the device (very *erous!).)

      android.permission.DISABLE_KEYGUARD
      允許程序禁用鍵盤鎖(Allows applications to disable the keyguard )

      android.permission.SET_ORIENTATION
      允許底層訪問設(shè)置屏幕方向和實際旋轉(zhuǎn)(Allows low-level access to setting the orientation (actually rotation) of the screen.)

      android.permission.CAMERA

      請求訪問使用照相設(shè)備(Required to be able to access the camera device. )

      android.permission.VIBRATE


      允許訪問振動設(shè)備(Allows access to the vibrator)

      android.permission.ACCESS_CHECKIN_PROPERTIES

      允許讀寫訪問”properties”表在checkin數(shù)據(jù)庫中,改值可以修改上傳( Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded)

      android.permission.BATTERY_STATS
      允許程序更新手機電池統(tǒng)計信息(Allows an application to update the collected battery statistics)

      android.permission.DEVICE_POWER

      允許訪問底層電源管理(Allows low-level access to power management)

      android.permission.FLASHLIGHT
      訪問閃光燈,android開發(fā)網(wǎng)提示HTC Dream不包含閃光燈(Allows access to the flashlight )

      android.permission.GET_ACCOUNTS
      訪問一個帳戶列表在Accounts Service中(Allows access to the list of accounts in the Accounts Service)

      android.permission.READ_FRAME_BUFFER
      允許程序屏幕波或和更多常規(guī)的訪問幀緩沖數(shù)據(jù)(Allows an application to take screen shots and more generally get access to the frame buffer data)

       


      刪除相關(guān):

       

      android.permission.CLEAR_APP_CACHE
      允許一個程序清楚緩存從所有安裝的程序在設(shè)備中(Allows an application to clear the caches of all installed applications on the device. )

      android.permission.CLEAR_APP_USER_DATA
      允許一個程序清除用戶設(shè)置(Allows an application to clear user data)

      android.permission.DELETE_CACHE_FILES
      允許程序刪除緩存文件(Allows an application to delete cache files)

      android.permission.DELETE_PACKAGES
      允許一個程序刪除包(Allows an application to delete packages)

      android.permission.GET_PACKAGE_SIZE
      允許一個程序獲取任何package占用空間容量(Allows an application to find out the space used by any package. )

       

       

      其它權(quán)限:


      android.permission.CHANGE_COMPONENT_ENABLED_STATE
      允許一個程序是否改變一個組件或其他的啟用或禁用(Allows an application to change whether an application component (other than its own) is enabled or not. )

      android.permission.CHANGE_CONFIGURATION
      允許一個程序修改當前設(shè)置,如本地化(Allows an application to modify the current configuration, such as locale. )

      android.permission.DIAGNOSTIC
      允許程序RW診斷資源(Allows applications to RW to diagnostic resources. )


      android.permission.EXPAND_STATUS_BAR
      允許一個程序擴展收縮在狀態(tài)欄,android開發(fā)網(wǎng)提示應(yīng)該是一個類似Windows Mobile中的托盤程序(Allows an application to expand or collapse the status bar. )

      android.permission.FACTORY_TEST
      作為一個工廠測試程序,運行在root用戶(Run as a manufacturer test application, running as the root user. )

      android.permission.FORCE_BACK
      允許程序強行一個后退操作是否在頂層activities(Allows an application to force a BACK operation on whatever is the top activity. )

      android.permission.GET_TASKS
      允許一個程序獲取信息有關(guān)當前或最近運行的任務(wù),一個縮略的任務(wù)狀態(tài),是否活動等等(Allows an application to get information about the currently or recently running tasks: a thumbnail representation of the tasks, what activities are running in it, etc.)

      android.permission.MODIFY_AUDIO_SETTINGS
      允許程序修改全局音頻設(shè)置(Allows an application to modify global audio settings)

      android.permission.PERSISTENT_ACTIVITY
      允許一個程序設(shè)置他的activities顯示(Allow an application to make its activities persistent. )


      ndroid.permission.READ_FRAME_BUFFER
      允許程序屏幕波或和更多常規(guī)的訪問幀緩沖數(shù)據(jù)(Allows an application to take screen shots and more generally get access to the frame buffer data)

      android.permission.READ_INPUT_STATE
      允許程序返回當前按鍵狀態(tài)(Allows an application to retrieve the current state of keys and switches. )

      android.permission.READ_SYNC_SETTINGS
      允許程序讀取同步設(shè)置(Allows applications to read the sync settings)

      android.permission.READ_SYNC_STATS
      允許程序讀取同步狀態(tài)(Allows applications to read the sync stats)

      android.permission.RECORD_AUDIO
      允許程序錄制音頻(Allows an application to record audio)

      android.permission.REORDER_TASKS
      允許程序改變Z軸排列任務(wù)(Allows an application to change the Z-order of tasks)

      android.permission.RESTART_PACKAGES
      允許程序重新啟動其他程序(Allows an application to restart other applications)



      android.permission.READ_INPUT_STATE
      允許程序返回當前按鍵狀態(tài)(Allows an application to retrieve the current state of keys and switches. )

      android.permission.READ_LOGS
      允許程序讀取底層系統(tǒng)日志文件(Allows an application to read the low-level system log files. )

      android.permission.READ_OWNER_DATA
      允許程序讀取所有者數(shù)據(jù)(Allows an application to read the owner’s data)

      android.permission.SET_ACTIVITY_WATCHER
      允許程序監(jiān)控或控制activities已經(jīng)啟動全局系統(tǒng)中Allows an application to watch and control how activities are started globally in the system.

      android.permission.SET_ALWAYS_FINISH
      允許程序控制是否活動間接完成在處于后臺時Allows an application to control whether activities are immediately finished when put in the background.

      android.permission.SET_PROCESS_FOREGROUND
      允許程序當前運行程序強行到前臺(Allows an application to force any currently running process to be in the foreground.)

      android.permission.SET_PROCESS_LIMIT
      允許設(shè)置最大的運行進程數(shù)量(Allows an application to set the maximum number of (not needed) application processes that can be running. )

      android.permission.SET_TIME_ZONE
      允許程序設(shè)置時間區(qū)域(Allows applications to set the system time zone)

      android.permission.SET_WALLPAPER
      允許程序設(shè)置壁紙(Allows applications to set the wallpaper )

      android.permission.SET_WALLPAPER_HINTS
      允許程序設(shè)置壁紙hits(Allows applications to set the wallpaper hints)

      android.permission.SIGNAL_PERSISTENT_PROCESSES
      允許程序請求發(fā)送信號到所有顯示的進程中(Allow an application to request that a signal be sent to all persistent processes)

      android.permission.STATUS_BAR
      允許程序打開、關(guān)閉或禁用狀態(tài)欄及圖標Allows an application to open, close, or disable the status bar and its icons.

      android.permission.SUBSCRIBED_FEEDS_READ
      允許一個程序訪問訂閱RSS Feed內(nèi)容提供(Allows an application to allow access the subscribed feeds ContentProvider. )

      android.permission.SUBSCRIBED_FEEDS_WRITE
      系統(tǒng)暫時保留改設(shè)置,android開發(fā)網(wǎng)認為未來版本會加入該功能。

      android.permission.SYSTEM_ALERT_WINDOW
      允許一個程序打開窗口使用 TYPE_SYSTEM_ALERT,顯示在其他所有程序的頂層(Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications. )

      android.permission.WAKE_LOCK
      允許使用PowerManager的 WakeLocks保持進程在休眠時從屏幕消失( Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming)

      android.permission.WRITE_APN_SETTINGS
      允許程序?qū)懭階PI設(shè)置(Allows applications to write the apn settings)

      android.permission.WRITE_CALENDAR
      允許一個程序?qū)懭氲蛔x取用戶日歷數(shù)據(jù)(Allows an application to write (but not read) the user’s calendar data. )

      android.permission.WRITE_SYNC_SETTINGS
      允許程序?qū)懭胪皆O(shè)置(Allows applications to write the sync settings)
       

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多