Automatic recognition of Android Java card

I am trying to develop a Java Map applet that will be recognizable to Android. I know there is an IsoDep class that allows you to communicate with the ADPU protocol. However, I want it to be recognizable without installing any app on the device and without flashing the Android system.

With an NFC tag using NDEF, it is quite easy to write to a tag that is subsequently automatically recognized as a contact, link, etc., without installing any app on the device. Is it possible to do the same with a Java contactless card with NDEF or some other way?

+3


source to share


1 answer


The only way to initiate certain actions via NFC on the Android system (for example, open a URL, transfer a contact, etc.) without the need for a dedicated app is to use NDEF formatted data.

So you will need to create an applet on the card that implements the NFC Forum Type 4 Tag Operations Specification (you can get the spec from the NFC Forum website ). Then you can paste the NDEF message into this applet.



You can find an implementation of the NFC Forum Type 4 Tag app on Java Card here: https://github.com/slomo/ndef-javacard (I haven't tested this implementation yet, so I can't comment on how well this implementation works. )

+2


source







All Articles