Android application ID (package name)
ID android_package_name
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Identifier of an Android app on the device and in Google Play, set by applicationId in the Gradle build and stored as the package attribute of the merged AndroidManifest.xml; Android APIs such as Context.getPackageName() call it the package name. It looks like a Java package name in reverse-domain order. Android requires at least two segments separated by dots, each segment starting with a letter, and only the characters a-z, A-Z, 0-9 and underscore. Google Play treats an upload with a different application ID as a different app. VirusTotal reports it as the androguard Package of an APK. The format also matches many domain names and Java class names, so use the field name or context.
- Categories
- Software development
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Wikidata
- P3418
- Quality
- 85/100 · missing: translation, detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)+$
Python re syntax.
Examples
| Value | Description |
|---|---|
| com.example.myapp | Example application ID in the Android developer documentation |
| ru.oneme.app | Package name of an APK in its VirusTotal report |
| myapp invalid | Only one segment |
| com.example.2app invalid | Segment starts with a digit |
| com.example.my-app invalid | Hyphen is not allowed |
Sources
- doc: https://developer.android.com/build/configure-app-module#set-application-id
- wikidata: https://www.wikidata.org/wiki/Property:P3418
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/android_package_name - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/software/android_package_name.yamlon GitHub