Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Writing data into NFC tag in android tutorial [closed]

Tags:

android

nfc

I want to develop an android NFC based application in which I want to read and write data into NFC tags. How to do this? Can anybody tell me the tutorials and android API's.

like image 255
Prasad Avatar asked Apr 22 '12 07:04

Prasad


People also ask

How close can NFC tags be?

How close do you have to be for NFC to work? NFC works effectively within a 4-inch radius. Devices must be within this range for NFC to work. Such close proximity makes NFC safer and more secure than other similar technologies for contactless payments.

Can I write to an NFC tag with my phone?

You can write data to an NFC tag using an NFC-enabled Android phone. First, you must download an NFC programming app from the Google Play Store. Once you have installed the app on your phone, you can use it to write data to an NFC tag.

How do you write data on a NFC tag?

To simply write to one blank NFC tag, make sure all of these options are unchecked. Finally, select “Write” at the bottom of the screen and tap the back of your phone to a blank NFC tag as if you were going to read it. This writes the URL to the tag. Congratulations, you've just encoded your first NFC tag!


2 Answers

Here are two blogs posts which walk through code and have supporting videos to help developers get started reading and writing NFC tags in Android.

NFC Workshop Series: Writing To An NFC Tag:

NFC Workshop Series: Reading An NFC Tag:

like image 153
Kelsey Whelan Avatar answered Oct 27 '22 15:10

Kelsey Whelan


Start with the documentation:

https://developer.android.com/guide/topics/connectivity/nfc/index.html

like image 22
Alex Florescu Avatar answered Oct 27 '22 17:10

Alex Florescu