Confirmed users
153
edits
Line 372: | Line 372: | ||
= Application Dispatch Order = | = Application Dispatch Order = | ||
Dispatch priority is handled by the NFC Manager. In the numbered list below, a low number indicates higher priority. It generally dispatches according to the NFC technology type, and then the NDEF NDEF.TNF field, and the NDEF Record type field. If an activity is to be launched, it will display a activity list if there is more than one match. | |||
1) Foreground App, if the callback onforegrounddispatch is set. | |||
1) Foreground App | |||
2) P2P Handover Types (BT transfers, WiFi direct connection, etc.) | 2) P2P Handover Types (BT transfers, WiFi direct connection, etc.) | ||
3) | 3) All other matches. | ||
In #3, unknown tags are dispatched as a "nfc-tag-discovered" activity | In #3, unknown tags are dispatched as a "nfc-tag-discovered" activity. | ||
= NFC Resources = | = NFC Resources = |