[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

Manifest Android File Permission

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
K K
Asked:
K K
1 Solution
 
KRUNAL TAILORFreelance Mobile DeveloperCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now