1

I have created a simple app which the user can search for a room and then presses the search button to search for the room.

My next task is to have NFC so that the NFC stores the room in text format (Room 101) and when the user taps the tag it opens the app and inserts Room 101 into the textview.

Is this possible? And if it is can you provide some guidance?

Thank You

BasicCoder
  • 99
  • 1
  • 2
  • 9

1 Answers1

0

You can reference what is being communicated in this response here as to what steps to look into for starting an application from an NFC tag.

NFC tags can hold the text that you are referring to and pass it along to the application that it launched. You would then be able to do what you would like inside your application.

This is similar to and intent-filter that you can manipulate with a program of your own based on an event in the hardware. You can also look into intent filters and their associated meta-data fields to accomplish a task such as this. Hopefully this will get you started on it.

Community
  • 1
  • 1
Jay Snayder
  • 4,298
  • 4
  • 27
  • 53