Solved

Manifest Android File Permission

Posted on 2016-09-21
1
64 Views
Last Modified: 2016-09-27
You someone please explain how the four user permissions of the application are enforced by Android from the manifest file?


<uses-permission android:name=”android.permission.INTERNET” />
<uses-permission android:name=”android.permission.SEND_SMS” />
<uses-permission android:name=”android.permission.RECIEVE_SMS” />
<uses-permission android:name=”android.permission.READ_CONTACTS” />
0
Comment
Question by:K K
1 Comment
 
LVL 12

Accepted Solution

by:
KRUNAL TAILOR earned 500 total points
ID: 41810249
Hi K K,

Manifest file is a configuration file for Android project where developer can describe the app permissions. Here you will get all info about the Android app Permissions: https://developer.android.com/guide/topics/security/permissions.html

The four above you mention will use for respectively for Internet, Sending sms, receive sms and read contacts.

Let go for example of contacts, suppose you developing one app which accessing user contact list then you need to give this permission so your app will access the contact of user.
<uses-permission android:name=”android.permission.READ_CONTACTS” />

Open in new window


Similar way suppose your app is using internet service in your app then you need to give this permission to access internet in the app.
"<uses-permission android:name=”android.permission.INTERNET” />"

Open in new window


Similar you have to give below permission in your app when your app is sending/receiving sms.

<uses-permission android:name=”android.permission.SEND_SMS” />
<uses-permission android:name=”android.permission.RECIEVE_SMS” />

Open in new window


Thanks & Regards,
Krunal T. Tailor
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question