This app aims to take advantage of Android's Host-based card emulation capabilities on NFC devices in order to easily share links or text with other NFC capable devices (regardless if they are Android or not) just as if the sharing device was a NFC tag. Importantly, this app aims to be convenient and easy to use as it is available in the native Android share menu! Additionally, this app is separated into Android Mobile and Wear OS components. This allows the user to also use their Wear OS watch to share links or text provided from the mobile component.
When sharing links or text, simply select the app from the native Android share menu. Then, simply physically tap another receiving NFC device against the sharing device. Additionally, if the Wear OS component is installed, you may press the button on the bottom of the dialog to toggle between sharing from your phone or watch!
Apks for both the mobile and Wear OS components are provided in the Releases tab. Installing the mobile component simply requires downloading the mobile apk on your device through a web browser and then installing it. However, installing the Wear OS component may be difficult as it requires that the component be installed through ADB debugging and tools.
In your watch's settings in Connections >> NFC and contactless payments >> Others
, make sure to disable Samsung Health
as this conflicts with the app.
All credit for the NDEF tag emulation and HCE implementation in the ApduService class belongs to the author of https://github.com/MichaelsPlayground/NfcHceNdefEmulator and the author(s) of https://github.com/TechBooster/C85-Android-4.4-Sample. The respective Apache 2.0 license notice is included in this project's implementation: ApduService.java
. Without the insight and code provided in these repositories, this app would not be possible.