My working NFC application has been changed to achieve auto launch via the PushRegistry function-ality. I used the following code to register the application,
PushRegistry.registerConnection("nfc:undefined_format", "hello.HelloMidlet", "*");
The application is indeed launched when a ISO14443-4 tag is touched, but I don't get any targetDe-tected() nor a recordDetected() ?
The targetDetected() works when the app. is manual launched or if I touch a 2. time after auto launch.
The RecordListener() is implemented like this,
dm.addNDEFRecordListener(this, new NDEFRecordType(NDEFRecordType.UNKNOWN, null));
Not having NDEF data on the tag I decided to use the UNKNOWN type. How do one implement an IS014443 RecordListener?
Any suggestions on how to start data exchange after auto launch on a ISO14443-4 tag with no NDEF data?