Tutorial On How To Build NFC Functionality Into Your Delphi XE7 Firemonkey Apps On Android

Developers Daniel Magin and Brian Long teamed up to create a solution for enabling NFC access from Delphi XE7 Firemonkey. Daniel Magin’s tutorial has now been released and it is pretty straight forward. What I like about his tutorial is some of the additional information like he lists two Windows command lines to compile a Java file into a Java Class file and package a Java Class file into a JAR file. With Delphi XE7 Firemonkey you can then just add the JAR file to your project Library (I think) and it will automatically get merged into the classes.dex. If you have XE6 there is a batch file provided by Brian Long which will do the merge of your JAR with the classes.dex file. Full source code is provided which really makes it easy to understand how Delphi apps on Android are constructed and the interaction between the Android SDK (the shim that runs your Delphi app) and the Android NDK (your Delphi app). Be sure to check out Brian Long’s NFC tutorial too. Should also work in Delphi XE6 and AppMethod.