Our application needs only one permission as of now, and that is to place a call. To modify or add permissions for the application, we need to edit Android Manifest.
- To edit Android Manifest and give the permission, follow these steps:
- Open Solution Explorer.
- Double-click on Properties under the project.
- This should open a UI to edit project properties.
- Now, from the left-hand menu, click on Android Manifest to open it:
![](https://static.packt-cdn.com/products/9781788296243/graphics/assets/2f5b6f98-ada8-4e93-bb17-d58760f1ef20.png)
- In the Required permissions section, scroll down, find the CALL_PHONE permissions, and select this option:
![](https://static.packt-cdn.com/products/9781788296243/graphics/assets/e6a9b1f3-4ded-4cdb-9176-b92852e71e4b.png)
-
- Press Ctrl + Shift + S to save all the changes to the project.
- Close the Properties window.
- We are done adding permissions to the application.
- We need to build the solution now, so the resulting installation file has all the changes we made.
- Rebuild the project; right-click on Solution | Rebuild Solution...