Android Question Use NFC Lib 2.01 with Sony SWR50 Smartwatch 3

wenzelww

Member
Licensed User
Longtime User
Hi,
I am started to develop an App for the sony swr50 to read a NFC tag.
First I tested the WearableDataLayer Lib and installed the example CRWear. All works perfekt.

When I add the NFC Lib to the wearable app and just initialize the 2 nfc variables

Dim nfc As NFC
Dim TagTech As TagTechnology

as Globals the wearable app is not installed to the swr50. There is no Error during compilation etc. There is no nfc method used yet.
When put the 2 lines in comment everything works again.

Does anybody have an idea what happens here?

Wilhelm
 

wenzelww

Member
Licensed User
Longtime User
Yes, I see logs:

Installing file.
PackageAdded: package:canalrun.wear.crwex


But meanwhile I could solve the issue: Had to add the line:
AddPermission(android.permission.NFC)
with Manifest Editor (both crmobile and crwearable)
Thanks' so far
Wilhelm
 
Upvote 0
Top