Question

I want to filter the following Type:

urn:nfc:wkt:Hs

in the android manifest.

I write the data as follows:

public NdefRecord createHandoverSelectRecord(byte[] payload) {
    NdefRecord record = new NdefRecord(NdefRecord.TNF_WELL_KNOWN,
    NdefRecord.RTD_HANDOVER_SELECT, new byte[0], payload);
    return record;
}

How can I filter now correctly the Type?

Thanks.

Was it helpful?

Solution

Unfortunately, you cannot filter for these messages. Presumably (hopefully?), because Android will at some point be extended with the functionality to handle Handover messages itself? See the documentation for what types you can filter for.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top