createUri

Create a new NDEF Record containing a URI.

Use this method to encode a URI (or URL) into an NDEF Record. Uses the well known URI type representation Tnf.WELL_KNOWN and Nfc.RTD_URI. This is the most efficient encoding of a URI into NDEF.

Return

a new record with the URI.

Parameters

uri

the URI to create a record for, for example www.google.com.