Closed annu0412 closed 7 years ago
Thanks Martin for reply.
I have PN532 i am using it over i2c, can you pls elaborate how can i use libfreefare in java for this?
Thanks for your help.
Regards Anurag
On 03-Mar-2017 6:38 pm, "Martin Dagarin" notifications@github.com wrote:
This library is written in C/C++, but I think it is posible to use it with java if you make module which communicate via D-Bus with your java application
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nfc-tools/libfreefare/issues/54#issuecomment-283948525, or mute the thread https://github.com/notifications/unsubscribe-auth/AIWyczgXrxedcv5Tk3oRl-ry28RlvCOeks5riBC7gaJpZM4MR7Um .
To use any library written in C/C++ (and some other languages) in Java :
https://en.wikipedia.org/wiki/Java_Native_Interface
You have to wrap native library using JNI and you will be able to use this library as a Java class.
2017-03-03 18:56 GMT+01:00 annu0412 notifications@github.com:
Thanks Martin for reply.
I have PN532 i am using it over i2c, can you pls elaborate how can i use libfreefare in java for this?
Thanks for your help.
Regards Anurag
On 03-Mar-2017 6:38 pm, "Martin Dagarin" notifications@github.com wrote:
This library is written in C/C++, but I think it is posible to use it with java if you make module which communicate via D-Bus with your java application
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nfc-tools/libfreefare/issues/54# issuecomment-283948525, or mute the thread https://github.com/notifications/unsubscribe- auth/AIWyczgXrxedcv5Tk3oRl-ry28RlvCOeks5riBC7gaJpZM4MR7Um .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nfc-tools/libfreefare/issues/54#issuecomment-284024310, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZjroZydLPG1-5U9piIfb1F630-ooWeks5riFRagaJpZM4MR7Um .
-- Romuald
Please use Stack Overflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.
This library is written in C/C++, but I think it is posible to use it with java if you make module which communicate via D-Bus with your java application