Add Permissions to Android Manifest

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

This recipe shows how to add permissions to the Android Manifest (Manifest.xml).

Recipe

To edit Android Manifest permissions for your project:

  1. Right-click on your android project and select Properties.
  2. Select Android Manifest in the window that opens.
  3. Check the permissions that you want to require in the list of permissions.
  1. Right-click on your android project and select Options.
  2. Select Android Application in the window that opens.
  3. Check the permissions that you want to require in the list of permissions.

Additional Information

You should only request permissions that your application requires to run. Users will be prompted to allow these permissions when they download your application from the Google Play Store.

Common permissions include:

INTERNET – for accessing network resources.

ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION – for location services.

CAMERA – to access the camera.

There are many more permissions relating to contacts, phone operations, operating system information, time and alarm settings and hardware features.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.