论坛首页 移动开发技术论坛

android AndroidManifest.xml 权限示例

浏览 3527 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2014-04-17  

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>

 

论坛首页 移动开发技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics