Via : OpenAndroid.in
Tags : #Source_Code, #Tutorial
Orginal Post: Android Permission List With Example

Call Related Permissions


<uses-permission android:name="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.

<uses-permission  android:name="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.

<uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> 
Allows an application to add voicemails into the system.

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
Allows read only access to phone state. You can get states like "Phone Ringing", "Call Received" etc using this permission.

Follow the post for running Example  of this Permission

<uses-permission android:name="android.permission.READ_CALL_LOG" /> 
Allows an application to read the user's call log . You can get the information like phone number, name, call duration, call type(incoming, outgoing, missed call) etc

SMS/MMS related permissions


<uses-permission android:name="android.permission.RECEIVE_MMS" /> 
Allows an application to monitor incoming MMS messages, to record or perform processing on them.

<uses-permission android:name="android.permission.RECEIVE_SMS" /> 
This permission allows an application to Receive the SMS

Follow the post for running Example  of RECEIVE_SMS Permission

<uses-permission android:name="android.permission.READ_SMS" /> 
This permission allows you read the SMS ,and get SMS Sender's number SMS Body, Sent time etc.

Follow the post for running Example  of READ_SMS Permission

<uses-permission android:name="android.permission.SEND_SMS" /> 
This permission allows an application to Recive the SMS

Follow the post for running Example  of  SEND_SMS Permission

Network/Internet/Location related permission


<uses-permission android:name="android.permission.INTERNET" />
Allows applications to open network sockets.With this permission your application can use 2G/3G internet .

Follow the post for running Example  of  INTERNET  Permission

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 
Allows an app to access approximate location derived from network location sources such as cell towers and Wi-Fi.

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 
Allows an app to access precise location from location sources such as GPS,
cell towers, and Wi-Fi.

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Allows applications to access information about networks

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 
Allows applications to access information about Wi-Fi networks

Media Related Permissions


<uses-permission android:name="android.permission.CAMERA" />
Required to be able to access the camera device

<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Allows an application to modify global audio settings

<uses-permission android:name="android.permission.RECORD_AUDIO" /> 
this permision allows you to record some audio or sound

Phonebook Related Permissions:


<uses-permission android:name="android.permission.READ_CONTACTS" /> 
Allows an application to read the user's contacts data.You can get Name, Number, etc of a Saved Contact

Follow the post for running Example  of this Permission

<uses-permission android:name="android.permission.WRITE_CONTACTS" /> 
Allows an application to add a new Contact in Phonebook

<uses-permission android:name="android.permission.READ_PROFILE" /> 
Allows an application to read the user's personal profile data.

SD Card related Permissions


<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 

Allows an application to read from external storage/SD card.

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
Allows an application to write to external storage

Follow the post for running Example  of this Permission

Other Important Manifest Permissions


<uses-permission android:name="android.permission.BATTERY_STATS" /> 
Allows an application to collect battery statistics

<uses-permission android:name="android.permission.BLUETOOTH" />
Allows applications to connect to paired bluetooth devices

<uses-permission android:name="android.permission.READ_CALENDAR" /> 
Allows an application to read the user's calendar data.

<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
Allows an application to read (but not write) the user's browsing history and bookmarks

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 
Allows an application to receive Boot_Completed broadcast

Example : Follow the post for running Example  of this Permission

<uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> 
Allows an application to broadcast an Intent to set an alarm for the user.

Example : Follow the post for running Example  of this SET_ALARM Permission

<uses-permission android:name="android.permission.SET_WALLPAPER" /> 
Allows an Application to set the Wallpaper
Running Example : How to Set an Image as Wallpaper.

<uses-permission android:name="android.permission.VIBRATE" /> 
Allows an application to Vibrate the phone

Example : Follow the post for running Example  of  VIBRATE Permission

Via : OpenAndroid.in
Tags : #Source_Code, #Tutorial
Orginal Post: Android Permission List With Example

0 comments:

Post a Comment

 
Top