How to use foreground dispatch system of android NFC with AIR native extension?
Hello,
I'm developping an AIR application which invokes NFC on android, via AIR native extension (ANE).
I would like to enable foreground dispatch system of NFC (see http://developer.android.com/guide/topics/nfc/advanced-nfc.html#foreground-dispatch), but unfortunately it has not been achieved so far.
[Problem]
For enabling foreground dispatch system of android NFC, we need to listen some android native events e.g.) Activity.onNewIntent(), Activity.onPause() and Activity.onResume(). But I have no idea how to dispatch them to ANE. Could anyone tell me how to get it?
I know there is an available ANE for android NFC as follows:
http://code.google.com/p/ane-lab/source/browse/#svn%2Ftrunk%2Fmobile%2Fandroid%2Fjava%2Fnfc1
But it is not fit for our use case, as it just uses "intent dispatch system" (another way to use android NFC).
Maybe AIR must be extended for this case, but any information is welcome.
Thanks.
