NDEF

Android Application Record (AAR)

A special NDEF record type (TNF=0x04, type='android.com:pkg') that forces an Android device to launch a specific app when scanning the tag. If the app isn't installed, Android opens the Play Store listing.

Also known as: AAR Android Application Record

What Is an Android Application Record?

An Android Application Record (AAR) is a special NDEF record (TNF 0x04, type "android.com:pkg") that forces Android devices to launch a specific application when scanning an NFC tag. If the app is not installed, Android automatically opens the Google Play Store page for it.

How AAR Works

When Android reads an NFC tag with an NDEF message containing an AAR, it forces dispatch to the specified package name regardless of other records. This overrides normal intent resolution — even if multiple apps match the first record's data type, only the AAR-specified app receives the tag data.

AAR Record Structure

TNF: 0x04 (External Type)
Type: "android.com:pkg"
Payload: "com.example.myapp" (package name, UTF-8)

Common Patterns

URI + AAR (recommended):

Record 1: URI — "https://example.com/product/12345"
Record 2: AAR — "com.example.myapp"

Android opens the URL in the specified app. iOS (which ignores AAR) opens the URL in Safari — best cross-platform compatibility.

Text + AAR: For IoT configuration where only the companion app understands the data.

AAR Only: Simply launches the app without passing data.

Cross-Platform Behavior

Platform AAR Support Fallback
Android 4.0+ Full Play Store redirect
iOS Ignored Processes other records normally
Windows Phone Ignored Processes other records normally

Always include a standard URI record or text record as the first record so non-Android devices have meaningful behavior.

Memory Impact

An AAR consumes 25-50 bytes: ~7 bytes overhead (header + type) + 15-40 bytes package name. On NTAG 213 (144 bytes user memory), adding an AAR after a URI may consume 40-65% of capacity.

When to Use

Use AAR when the tag data only makes sense in your app, when you need guaranteed Play Store discovery for users without the app, or for app-exclusive features (loyalty, IoT control). When web fallback is acceptable, consider Android App Links (domain verification) instead — this avoids consuming tag memory.

Related Terms

Related Guides

Frequently Asked Questions

The NFC glossary is a comprehensive reference of technical terms, acronyms, and concepts used in Near Field Communication technology. It is designed for developers, product managers, and engineers who work with NFC and need clear definitions of terms like NDEF, APDU, anti-collision, and ISO 14443.

Each glossary term is cross-referenced with related NFC chips, standards, and other terms. For example, the term 'AES-128' links to chips that support AES encryption (NTAG 424 DNA, DESFire EV2/EV3), and the term 'ISO 14443' links to all chips compliant with that standard.

Yes. NFCFYI provides glossary definitions in 15 languages including English, Korean, Japanese, Chinese, Spanish, Portuguese, Hindi, Arabic, French, Russian, German, Turkish, Vietnamese, Indonesian, and Thai. Use the language selector in the header to switch languages.