Fix some android Permission denied

Source: Internet
Author: User
Tags delete cache

Recently encountered a problem, always in the analog permission denied error, so I directly on the phone test, found no errors, so depressed, repeatedly in the androidmanifest to join the rights   <uses-permission Android:name= "Android.permission.INTERNET"  />    <uses-permission android:name= " Android.permission.WRITE_EXTERNAL_STORAGE "/> Found how to add also no matter use, so find a lot of authority data, see is not missing some permissions location Related: android.permission.WRITE_ Gservices allows the program to modify the Google Services map (allows a application to modify the Google service maps.)  android.permission.access_coarse_location allows a program to access Cellid or WiFi hotspots to get a rough location (allows an application to access coarse (e.g., Cell-id, WiFi) location) Android.permission.ACCESS_FINE_LOCATION allows a program to access sophisticated locations (such as GPS) (allows an application to Access fine (e.g., GPS) location) Android.permission.ACCESS_LOCATION_EXTRA_COMMANDS allows applications to access additional locations to provide commands (allows an Application to access extra location provider commands) Android.permission.ACCESS_MOCK_LOCATION allows programs to create simulated locations for testing ( Allows an application-to-create mock location providers for testing) android.permission.CONTROL_LOCATION_ Updates allow you to enable the Disable location update prompt from the wireless module (Allows enabling/disabling location update notifications from the radio. )  wifi Related: Android.permission.ACCESS_COARSE_LOCATION    Allows a program to access Cellid or WIFI hotspots to get a rough location Android.permission.ACCESS_WIFI_STATE    Allow programs to access Wi-Fi network status information Android.permission.CHANGE_WIFI_STATE    allow programs to change Wi-Fi connection status   Bluetooth Related: Android.permission.BLUETOOTH    allow programs to connect to paired Bluetooth devices Android.permission.BLUETOOTH_ADMIN    Allow programs to discover and pair Bluetooth devices   broadcasts: Android.permission.BROADCAST_PACKAGE_REMOVED allows programs to broadcast a prompt message after an application package has been removed (allows an Application to broadcast a notification so an application package have been removed) Android.permission.BROADCAST_STICKY Xu a program broadcast common intents (allows an application to broadcast sticky intents) Android.permission.RECEIVE_BOOT_COMPLETED Allow a program to receive the action_boot_completed broadcast on the system completion boot (allows an application to receive the action_boot_completed that's broadcast afte R the system finishes booting.   SMS Related: Android.permission.READ_SMS allows the program to read short messages (allows an application to read SMS messages.) Android.pErmission. Receive_sms allows the program to monitor a message, record or process (allows an application to monitor incoming SMS messages, to record or perform processing on them.) Android.permission.SEND_SMS allows the program to send SMS messages (allows an application to send SMS messages) android.permission.WRITE_ SMS allows a program to write text messages (allows an application to write SMS messages) Android.permission.RECEIVE_MMS allow a program to monitor MMS messages that will be received, recorded or processed (allows an Application to monitor incoming MMS messages, to record or perform processing on them. Android.permission.RECEIVE_WAP_PUSH allows program monitoring to receive WAP push messages (allows an application to monitor incoming WAP push messages.)   Call Related:  android.permission.call_phone allows a program to initialize a phone dial without requiring user confirmation via the Dial-up user interface (allows a 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 a program to dial any number that contains an emergency number without requiring user confirmation via the Dial-up user interface (allows an application Including emergency numbers, without going through the Dialer user interface for the user To confirm the call being placed) Android.permission.PROCESS_OUTGOING_CALLS allows the program to monitor and modify the broadcast phone (allows an application to Monitor, modify, or abort outgoing calls) Android.permission.READ_CONTACTS allows the program to read user contact data (allows an application to read the User ' s contacts data.) Android.permission.WRITE_CONTACTS allows the program to write without reading the user contact data (allows an application to write (and not read) the users ' contacts data .    System-level permissions: Android.permission.ADD_SYSTEM_SERVICE allows programs to publish system-level services (allows an application to publish System-level Services). Android.permission.MANAGE_APP_TOKENS allows program management (create, post, z-order default to Z-axis) program references in the window manager (allows an application to Manage (Create, destroy, Z-order) application tokens in the window manager. Android.permission.DUMP allows the program to return state crawl information from the system service (allows a application to retrieve, the dump information from systems services.) Android.permission.INTERNAL_SYSTEM_WINDOW allows the window to be opened using the System user interface (allows an application to open windows? is for uses by parts of The system user interface. ) Android.permission.MOUNT_UNMOUNT_FILESYSTEMs allows for Mount and anti-mount file system Removable Storage (allows mounting and unmounting files systems for Removable Storage.) Android.permission.READ_LOGS allows the program to read the underlying syslog file (allows an application to read the low-level system log files.) Android.permission.RECEIVE_BOOT_COMPLETED allows a program to receive action_boot_completed broadcasts on system completion boot (allows an application to receive The action_boot_completed is broadcast after the system finishes booting. Android.permission.SET_ACTIVITY_WATCHER allows the program to monitor or control activities has started the global system allows an application to watch and control how Activities is started globally in the System.android.permission.WRITE_SETTINGS allows programs to read or write system settings (allows an application to Read or write the system settings. ) Android.permission.WRITE_SYNC_SETTINGS allow program to write sync settings (allows applications to write the sync settings)       Access Device Related: Android.permission.HARDWARE_TEST allows access to hardware (allows access to HARDWARE peripherals.) The Android.permission.BRICK request is capable of disabling the device (very dangerous) (Required to being able to disable the devices (very *erous!).) Android.permission.DISABLE_KEYGUARD Allow programs to disableThe keypad lock (allows applications to disable the Keyguard) Android.permission.SET_ORIENTATION allows the underlying access to set the screen orientation and the actual rotation (allows low-level Access to setting the orientation (actually rotation) of the screen.) Android.permission.CAMERA request access using a photographic device (Required to being able to access the camera devices.) Android.permission.VIBRATE allows access to vibrating devices (allows access to the vibrator) android.permission.ACCESS_CHECKIN_ Properties allows read and write access to the "Properties" table in the Checkin database, change the value can be modified upload (allows read/write access to the "Properties" of table in the Checkin dat Abase, to changes values that get uploaded) Android.permission.BATTERY_STATS allows the program to update Phone battery statistics (allows an application to update The collected battery statistics) Android.permission.DEVICE_POWER allows access to the underlying power management (allows low-level access to power management Android.permission.FLASHLIGHT access Flash, Android development Web tips HTC Dream does not include Flash (allows access to the flashlight) Android.permission.GET_ACCOUNTS Access an account list in the Accounts service (allows access to the list of accounts in the accounts service) a Ndroid.permission.READ_FRAME_BUFFER allows program screen waves or more regular visitsAsk frame buffer data (allows an application to take screen shots and more generally get access to the frame buffer data)    Delete Related:  android.permission.clear_app_cache allows a program to be clearly cached from all installed programs in the device (allows an application to clear the caches of all Installed applications on the device. ) Android.permission.CLEAR_APP_USER_DATA allows a program to clear user settings (allows an application to clear subscriber data) Android.permission.DELETE_CACHE_FILES allows the program to delete cache files (allows a application to delete cache file) Android.permission.DELETE_PACKAGES allows a program to delete packages (allows an application to delete packages) Android.permission.GET_PACKAGE _size allows a program to obtain any of the package footprint capacity (allows an application-find out of the space used by any packages.)    Other permissions:  android.permission.change_component_enabled_state allows a program to change whether a component or other is enabled or disabled (allows an Application to whether a application component (other than it own) is enabled or not. Android.permission.CHANGE_CONFIGURATION allows a program to modify the current settings, such as localization (allows a application to modify the present configuration, such as locale. Android.permission.DIAGNOSTIC allows the program RW diagnostic resource (allows applications to RW to diagnostic resources.) Android.permission.EXPAND_STATUS_BAR allows a program extension to shrink in the status bar, the Android development net hint should be a tray program similar to Windows Mobile (allows an application To expand or collapse the status bar. Android.permission.FACTORY_TEST as a factory test program that runs on the root user (run as a manufacturer test application, running as the root users.) Android.permission.FORCE_BACK allows the program to force a fallback operation on the top level activities (allows a application to forces a back operation on whatever is T He top activity. Android.permission.GET_TASKS allows a program to get information about the current or most recently run tasks, an abbreviated task state, whether the activity is active, and so on (allows an application to get information about The currently or recently running tasks:a thumbnail representation of the tasks, what activities is running in it, etc.) Android.permission.MODIFY_AUDIO_SETTINGS allows the program to modify global audio settings (allows an application to MODIFY Globe audio settings) Android.permission.PERSISTENT_ACTIVITY allows a program to set his activities display (allow a application to make its activities persistent.)  ndroid.permission.read_fraMe_buffer allows the program screen wave or more regular access to the Framebuffer data (allows an application-take screen shots and greater generally get access to the frame Buffe R data) Android.permission.READ_INPUT_STATE allows the program to return the current key state (allows a application to retrieve, and SWI Tches. ) Android.permission.READ_SYNC_SETTINGS allows the program to read the sync settings (allows applications to read the sync settings) Android.permission.READ_SYNC_STATS allows the program to read the synchronization status (allows applications to read the sync stats) android.permission.RECORD_ Audio allows programs to record sound (allows an application to record audio) Android.permission.REORDER_TASKS allows programs to change the z-axis arrangement tasks (allows an Application to change the z-order of tasks) Android.permission.RESTART_PACKAGES allows the program to restart other programs (allows an application to Restart other applications)  android.permission.read_input_state allows the program to return the current key state (allows an application to retrieve The current state of keys and switches. Android.permission.READ_LOGS allows the program to read the underlying system log files (allows an application to the read the low-level system log file.) Android.permission.READ_OWNER_DATA allows the program to read the owner data (allows an Application to read the owner's data) Android.permission.SET_ACTIVITY_WATCHER allows the program to monitor or control activities has started in the global system allows an Application to watch and control how activities is started globally in the System.android.permission.SET_ALWAYS_FINISH allowed Sequence control whether the activity is indirectly completed while in the background allows an application to control whether activities is immediately finished when put in the BACKGROUND.A Ndroid.permission.SET_PROCESS_FOREGROUND allows the program to run the program currently forced to the foreground (allows an application to forces any currently running process to is in the foreground.) Android.permission.SET_PROCESS_LIMIT allows you to set the maximum number of running processes (allows an application to set the maximum numbers of (not needed) Applica tion processes that can is running. Android.permission.SET_TIME_ZONE allows the program to set the time area (allows applications to set the system timing zone) android.permission.SET_ Wallpaper allow programs to set wallpaper (allows applications to set the wallpaper) Android.permission.SET_WALLPAPER_HINTS allow programs to set wallpaper hits ( Allows applications to set the wallpaper hints) Android.permission.SIGNAL_PERSISTENT_PROCESSES allows the program to request a signal to all displayed processes (allow an application to request the a signal be sent to all persistent processes) Android.permission.STATUS_BAR allow program to open, close, or disable state Bar and icon allows an application to open, close, or disable the status bar and its Icons.android.permission.SUBSCRIBED_FEEDS_READ Allows a program to access subscribed RSS feed content provided (allows an application-to-allow access the subscribed feeds ContentProvider.) The Android.permission.SUBSCRIBED_FEEDS_WRITE system temporarily retains its settings, and the Android Development Network believes the feature will be added to the future version. Android.permission.SYSTEM_ALERT_WINDOW allows a program to open a window using Type_system_alert, displayed on top of all other programs (allows an application to open Windows using the type Type_system_alert, shown on top of any other applications. Android.permission.WAKE_LOCK allows the PowerManager wakelocks to be used to keep the process from disappearing from the screen while hibernating (allows using PowerManager wakelocks to keep Processor from sleeping or screens from dimming) Android.permission.WRITE_APN_SETTINGS allows programs to write API settings (allows applications to Write the APN settings) Android.permission.WRITE_CALENDAR allows a program to write without reading the user's calendar data (allows a application to write (yet not read) The user ' s calendar data. ) AndroidOid.permission.WRITE_SYNC_SETTINGS allows the program to write synchronization settings (allows applications to write the sync settings) after seeing so many permissions, found that there is no lack of permissions, So back to think about it, on the phone can, in the simulator may not be the emulator is not a problem, and then looked at the creation of the simulator, found to forget to the SDK memory, and then filled in the memory, the result was I gave a silly ha, although solved a small problem, For me a beginner is very happy, so wrote a bit of experience, hehe, everyone laughed at

Fix some Android Permission denied

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.