In this recipe, we will see how to store a text block in a tag, which we will retrieve and handle later—Part 2 of this recipe in Chapter 6, Reading Tag Content – Real-life Examples.
In the first part of the development of this application, we are going to allow the user to write some text in the application and save it in a tag. The user can also go to any other application that supports content sharing and share some text with the application, avoiding the need to write the note on his/her own.
NfcBookCh4Noteand a package named
AndroidManifest.xmlfile is configured correctly —refer to the Requesting NFC permissions ...