Professional NFC Application Development for Android™ by Vedat Coskun & Kerem Ok & Busra Ozdenizci
Author:Vedat Coskun & Kerem Ok & Busra Ozdenizci
Language: eng
Format: epub
Publisher: John Wiley & Sons
Published: 2013-03-25T16:00:00+00:00
TNF_ABSOLUTE_URI
TNF_ABSOLUTE_URI indicates the absolute form of a URI that follows the absolute-URI rule defined by RFC 3986. The required code to create an absolute URI record is as follows:
byte[] uri = "http://nfclab.com/index.html".getBytes(Charset.forName("US-ASCII")); NdefRecord uriRecord = new NdefRecord( NdefRecord.TNF_ABSOLUTE_URI, uri, new byte[0], new byte[0] ); NdefMessage newMessage= new NdefMessage(new NdefRecord[] { uriRecord });
As you can see in the code, first a byte array named uri containing the absolute URI is created by encoding it with the US-ASCII charset and is then used to create a TNF_ABSOLUTE_URI record by selecting the record type as NdefRecord.TNF_ABSOLUTE_URI.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12593)
Hello! Python by Anthony Briggs(9928)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9804)
The Mikado Method by Ola Ellnestam Daniel Brolund(9787)
Dependency Injection in .NET by Mark Seemann(9348)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8310)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7772)
Grails in Action by Glen Smith Peter Ledbrook(7705)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7567)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7185)
Microservices with Go by Alexander Shuiskov(6950)
Practical Design Patterns for Java Developers by Miroslav Wengner(6867)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6811)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6425)
Angular Projects - Third Edition by Aristeidis Bampakos(6230)
The Art of Crafting User Stories by The Art of Crafting User Stories(5744)
NetSuite for Consultants - Second Edition by Peter Ries(5672)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5489)
Kotlin in Action by Dmitry Jemerov(5074)
