android AndroidManifest.xml 权限示例
程序员文章站
2022-03-13 23:26:26
...
android 权限示例,考进项目"AndroidManifest.xml"就可用了。
具体就不说明了。哈哈。
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" > </uses-permission> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" > </uses-permission> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" > </uses-permission> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" > </uses-permission> <uses-permission android:name="android.permission.CALL_PHONE" > </uses-permission> <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" > </uses-permission> <uses-permission android:name="android.permission.READ_CONTACTS" > </uses-permission> <uses-permission android:name="android.permission.WRITE_CONTACTS" > </uses-permission> <uses-permission android:name="android.permission.RECEIVE_SMS" > </uses-permission> <uses-permission android:name="android.permission.RECEIVE_MMS" > </uses-permission> <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" > </uses-permission> <uses-permission android:name="android.permission.INTERNET" > </uses-permission> <uses-permission android:name="android.permission.SEND_SMS" > </uses-permission> <uses-permission android:name="android.permission.READ_SMS" > </uses-permission> <uses-permission android:name="android.permission.WRITE_SMS" > </uses-permission> <uses-permission android:name="android.permission.READ_CALL_LOG" > </uses-permission> <uses-permission android:name="android.permission.WRITE_CALL_LOG" > </uses-permission> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" > </uses-permission> <uses-permission android:name="android.permission.READ_PHONE_STATE" > </uses-permission> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" > </uses-permission> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.VIBRATE" > </uses-permission> <uses-permission android:name="android.permission.BATTERY_STATS" > </uses-permission> <uses-permission android:name="android.permission.GET_PACKAGE_SIZE" > </uses-permission> <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.WAKE_LOCK" > </uses-permission> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" > </uses-permission> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" > </uses-permission> <uses-permission android:name="android.permission.RESTART_PACKAGES" > </uses-permission> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" > </uses-permission> <uses-permission android:name="android.permission.WRITE_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" > </uses-permission> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" > </uses-permission> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" > </uses-permission> <uses-permission android:name="android.permission.RECORD_AUDIO" > </uses-permission> <uses-permission android:name="android.permission.READ_LOGS" > </uses-permission> <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" > </uses-permission> <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" > </uses-permission> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" > </uses-permission> <uses-permission android:name="android.permission.BLUETOOTH" > </uses-permission> <uses-permission android:name="android.permission.CLEAR_APP_CACHE" > </uses-permission> <uses-permission android:name="android.permission.GET_TASKS" > </uses-permission> <uses-permission android:name="android.permission.REORDER_TASKS" > </uses-permission> <uses-permission android:name="android.permission.GET_ACCOUNTS" > </uses-permission>