---
id: "android_permission"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["software"]
langs: ["common"]
quality: 75
url: "https://registry.apicrafter.io/datatype/android_permission"
---

# Android platform permission name (`android_permission`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Name of a permission defined by the Android platform, as an app requests it in a uses-permission element of AndroidManifest.xml and as the constants of android.Manifest.permission hold it. Almost all start with android.permission. followed by an uppercase name (android.permission.CAMERA); a few older ones use a com.android.<component>.permission. prefix (com.android.voicemail.permission.ADD_VOICEMAIL). APK analysis tools and VirusTotal list them to show what an app can access. Apps can also define their own permissions with any package-style name; the regexp covers only the platform form.

- Personal data (PII): no
- Categories: Software development (software)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:android|com\.android\.[a-z]+)\.permission\.[A-Z][A-Z0-9_]*$
```

## Examples

- `android.permission.ACCESS_COARSE_LOCATION` — Approximate location
- `android.permission.POST_NOTIFICATIONS` — Show notifications (Android 13 and later)
- `com.android.voicemail.permission.ADD_VOICEMAIL` — Platform permission with a component prefix
- `ACCESS_COARSE_LOCATION` (invalid example) — Constant name without the prefix
- `android.permission.access_coarse_location` (invalid example) — Lowercase permission name

## Sources

- doc: <https://developer.android.com/reference/android/Manifest.permission>
- other: <https://virustotal.readme.io/reference/file-object-androguard>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/android_permission.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/android_permission.yaml>
