Dear all,
I am trying to make my application start upon tags touches.
I am using a 6212 and as tags the ones that come into the boc. I do not know which types are they

In the following there is the code I use for initialize the NFC and the push registry.
The application gets intalled and asks me for permission to autostart.
However, if I try to touch the tag when the application is not running, the app won't start, but the phone will read the tag as a note.

The tag simply contains a string "hello".

Code:
void initNFC()
{
            dm = DiscoveryManager.getInstance();
            try {
                dm.addTargetListener(this, TargetType.NDEF_TAG);
                dm.addNDEFRecordListener(this, new NDEFRecordType(
                        NDEFRecordType.MIME, "Text/Plain"));
               PushRegistry.registerConnection("ndef:mime?name=Text/Plain",this.getClass().getName(), "*");
                
            } catch (Exception e) {
                form.append("EX: "+e.toString());
                form.addCommand(exitCommand);
                form.setCommandListener(this);
                d.setCurrent(form);
            }
}
Any idea?