Access NFC tags from the watch app in the Android app

I developed a downloadable Android Wear app that reads NFC tags. The hardware I used is Sony Smartwatch 3, modified with the following instructions at this link: Sony SmartWatch 3 NFC Support Packs .

Now my goal is to make the watch app read NFC.

The problem is that Android Wear applications are not based on actions, but on services, despite the fact that they interact with the user and have an output on the screen.

The Android NFC library has many limitations, one of which (as far as I know) is that it can only be used inside operations.

So my question is: is there a way to use the Android NFC library ( android.nfc.tech.NfcV) and manage NFC tags inside the class CanvasWatchFaceService?

+4
source share
2 answers

According to Stack user Michael Roland (who seems to be a solid NFC expert), reading NFC data is not possible from Servicewithin Android. Link: fooobar.com/questions/1174491 / ...

+1
source

, NFC ( NFC) - , , , Android Wear NFC. NFC Sony Smartwatch 3 , Type 2 ( NFC, . NFC API Smartwatch 3 (SWR50)).

0

All Articles