Вопрос

I would like to get the text string saved on an NFC tag in Unity. I'm not experienced with developing for Android, it seems there was already success doing this but it seems to involve extensive use of the Android SDK and Eclipse, neither I'm familiar with.

I found also this thread though the source code is incomplete and I'm not sure how to declare the variables used in this if statement: http://forum.unity3d.com/threads/162834-AndroidJavaObject-as-array-for-NFC-access?p=1115826&posted=1#post1115826

Any usings that I need to import in order to use this snippet and the "var" type variable mentioned in the first post?

OP hasn't been answering all the other questions for over a year now. I hoped someone here might have an answer for NFC in general.

Это было полезно?

Решение

Pablo from Twinsprite has put a full working example project on GitHub

And he has written a very detailed blog-post about how to create the required plugin yourself.

Works great for me!

Другие советы

For someone else reading in the future, they have an updated link: The new Link I am working with this right now and I will keep you updated

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top