Creating an NFC reader and Writer App in Java, Android Studio

preview_player
Показать описание
#NFCTechnology #Integrating_NFC_in_Android #Android_Development_Tutorial
Welcome back to a brand new episode of MasteringProgramming, in this episode I will be showing you how to integrate NFC capabilities in your Android App using Java and Android Studio

If you would like to purchase a complete IOS App with source code which allows you to write Plain Text and URLs along with reading NFC Tags, Visit the following link. The File contains all the needed information and source code!

Would You like to Hire a Professional App Developer? Visit the following link to get in touch with a developer in my team and get started today!

Please Follow me on Twitter:

Purchase NFC Tags From Amazon:

Thank You!!
Рекомендации по теме
Комментарии
Автор

I followed the video and every time I try to write over my NFC tag, my phone vibrates, like if Android is trying to read the tag, but then when I press the button, it displays ERROR_DETECTED (myTag variable is null), any ideas? please

randomvintage
Автор

Hi, I followed your steps, but i get next error: Error while executing: am start -n -a android.intent.action.MAIN -c --splashscreen-show-icon
Starting: Intent { }
Error type 3
Error: Activity class does not exist.

Error while Launching activity
Failed to launch an application on all devices


Could you help me?

JózsefSüveges
Автор

sir can you help me i have some problem when i want to connect MY Application to External NFC Reader. I did what acs did, but still can't connect

adnalra
Автор

Wonderful. I learned how to copy and paste. Probably could have done with a break down of what the code did.

Overceer
Автор

but instead of retyping a Variable could you just import libs alt + Enter

rasoulcarrera
Автор

hey, can you help? nfc_contents.setText("NFC content: " + text); and the text will not show up on the app, and I can read the info of the NFC tag

mikkelpedersen
Автор

I have one question where you added nfc_tech_filter.xml file in your manifest file

indranilchaudhuri
Автор

I'm Italian which string i must put in these rows?
String lang = "it"; //ex en
byte[] textBytes = text.getBytes();
byte[] langBytes = lang.getBytes("US-ASCII"); // <---- IT-ASCII? Or WTF?
int langLength = langBytes.length;
int textLength = textBytes.length;
byte[] payload = new byte[1 + langLength + textLength];

cristiancapannini
Автор

That was the best tutorial for the nfc all over YouTube. Thank you so much man. I do have one question, can i implement the main functions of this code and work it out in xamarin forms ? Please i need an answer?

mouhcineoussama
Автор

Fix for Android 12:

readfromIntent(getIntent());
pendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), | PendingIntent.FLAG_MUTABLE);
IntentFilter tagDetected = new

writingTagFilters = new IntentFilter[] { tagDetected };

sta.x
Автор

is it possible to copy my access card( which has nfc ) information and use it to open my door by just using my phone's nfc capability?

arafath_shxfin
Автор

Mai i know this is old the i checked the code 10 times but still not working cant find the mytag when is near the device

The_Regolino
Автор

Hello, I purchase this project. But I can not open this app. Apk file can install but open is disabled.

unsicrz
Автор

is it possible to get the number of the power which nfc tag get through the phone by programming it

陈运达-gp
Автор

Hello 👋

Excuse me for asking, how if we want to use rfid instead of NFC. Which part of the project do we change? Intend to make android app with rfid read capability that can store key numbers, timestamp and device_id in local phone db that updates to a cloud db once online.

ahmadbasyir
Автор

Hello friend, an excellent video. but I have an error when writing to the card 'void on a null object reference. What do you think it could be :(?

miguelalfaro
Автор

how to set type so we can identify which type dta it is like url or name or mobile while reading tags

gamesoo
Автор

Is it possible to share data via nfc between 2 Android devices in an app?

hueimin
Автор

When I generate the app, says error can´t install the app, even when I turn off play protect

gabrielbalbuena
Автор

Hello, Im following this tutorial and wanted to ask one thing. when we receive the tag text as plaintext, can we put him in a form to send to a database server?

Thank you so much:

Fábio Simões

fabiosimoes
visit shbcf.ru