?
Solved

Manifest Android File Permission

Posted on 2016-09-21
1
Medium Priority
?
156 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 2000 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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Question has a verified solution.

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

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Ready to kick start your career in 2018? Add app developer skills to your resume. January’s Course of the Month features Android App Development training with hands-on learning.  Read on to learn why these skills are important.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

588 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