Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I write NdefFormatable tags? #81

Open
vdussan opened this issue Feb 21, 2024 · 1 comment
Open

How do I write NdefFormatable tags? #81

vdussan opened this issue Feb 21, 2024 · 1 comment

Comments

@vdussan
Copy link

vdussan commented Feb 21, 2024

I am trying to write chips but these are android.nfc.tech.NdefFormatable and not android.nfc.tech.Ndef and for this reason when I do the technology validation with the method tech.isValid() this returns error

@m1ga
Copy link
Contributor

m1ga commented Feb 26, 2024

Hi,
I've not used the write part but shouldn't it just be createTagTechnologyNdefFormatable (https://titaniumsdk.com/api/modules/nfc.html#createtagtechnologyndefformatable) in the included example in this place:
https://github.com/tidev/ti.nfc/blob/master/android/example/TagWriter/app/controllers/index.js#L104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants