Wonderful. I learned how to copy and paste. Probably could have done with a break down of what the code did.
@MasteringProgrammingTapAway4 жыл бұрын
Sorry I did not understand your sentence. Could you please rephrase ?
@Overceer4 жыл бұрын
@@MasteringProgrammingTapAway sorry, didn’t check it before I pressed send. Now edited.
@MasteringProgrammingTapAway4 жыл бұрын
@@Overceer No worries, that's true it was possible to breakdown the code a little bit better. However, the tutorial was getting too long.
@eddiefernandez993 Жыл бұрын
I agree, 2 years later and I would say this did not add any value to my knowledge but thanks for trying.
@randomvintage61252 жыл бұрын
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
@adnalra5116 Жыл бұрын
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
@JózsefSüveges Жыл бұрын
Hi, I followed your steps, but i get next error: Error while executing: am start -n "com.example.nfctag/com.example.nfctag.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER --splashscreen-show-icon Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.nfctag/.MainActivity } Error type 3 Error: Activity class {com.example.nfctag/com.example.nfctag.MainActivity} does not exist. Error while Launching activity Failed to launch an application on all devices Could you help me?
@rasoulcarrera4 жыл бұрын
but instead of retyping a Variable could you just import libs alt + Enter
@georgesichitiu Жыл бұрын
It's working. Thx.. 5 dolars well spent!
@mikkelpedersen7685 Жыл бұрын
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
@alejahmiranda6639 Жыл бұрын
I have the same problem too. Please reply
@indranilchaudhuri92372 жыл бұрын
I have one question where you added nfc_tech_filter.xml file in your manifest file
@hugoandres5480 Жыл бұрын
incredible channel, do you recommend a reference source to play with this technology, forum or book, thank you, greetings.
@skipthegrades23603 жыл бұрын
which version dude?
@mouhcineoussama55323 жыл бұрын
That was the best tutorial for the nfc all over KZbin. 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?
@MasteringProgrammingTapAway3 жыл бұрын
Hey I am not sure what xamarin forms are. Could you tell me more?
@miguelalfaro52332 жыл бұрын
Hello friend, an excellent video. but I have an error when writing to the card 'void android.nfc.tech.Ndef.connect()' on a null object reference. What do you think it could be :(?
@MasteringProgrammingTapAway2 жыл бұрын
I think it might be your phone not connecting to the NfC tag. Does your android device have NFC capabilities turned on?
@arafath_shxfin Жыл бұрын
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?
@user-un2si9cr2z Жыл бұрын
Hello, I purchase this project. But I can not open this app. Apk file can install but open is disabled.
@pradeepkumaresan-tr6qy8 ай бұрын
does it will read the temperature of tag
@jichuwi66663 жыл бұрын
thanks for the tutorial! i have a question, which part of the code would correspond only to the reading of the nfc tag? i would be very grateful if you could tell me, please.
@MasteringProgrammingTapAway3 жыл бұрын
Hi Karen and Sorry for the delay in my response. Aside from the UI everything needs to be included for a successful NFC Session. At least this is how I understand this. Could you please share with me what kind of project you are working on?
@jichuwi66663 жыл бұрын
@@MasteringProgrammingTapAway Don't worry, I've been waiting for your reply. I'm working on my last college project and for it, I need to make an app that reads NFC tags, I saw another tutorial for it, but it didn't really work, and I thought that with yours I could do it. If you have any information I would appreciate it.
@MasteringProgrammingTapAway3 жыл бұрын
@@jichuwi6666 sure, this video should walk you through writing the code necessary to do a read session. If it’s too complicated however I sell the code for just 5$ On my website www.tapaway.com.au/product-page/android-nfc-app-java
@qualitysnaps6803 жыл бұрын
Does players like Popl have their own web application or app to read and write nfc tags
@MasteringProgrammingTapAway3 жыл бұрын
Their app is a web app as far as I believe
@qualitysnaps6803 жыл бұрын
@@MasteringProgrammingTapAway Thanks . The way they are growing no doubt they will develop an native app for Android and IOS .
@fabiosimoes31334 жыл бұрын
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
@MasteringProgrammingTapAway4 жыл бұрын
You can do anything you wish to do after scanning the tag. Thank you for watching my videos and please feel free to continue asking me any questions.
@fabiosimoes31334 жыл бұрын
@@MasteringProgrammingTapAway so for that I can use the nfc_contents right? Thank you for your response: Fábio Simões
@MasteringProgrammingTapAway4 жыл бұрын
@@fabiosimoes3133 Yep, if you followed the video then yes. However please note that the information written on the tags can sometimes be written in a format that might provide you with some weird characters. If you are going to be sending things to a database, please make sure that you know exactly what kind of data is saved on the tag and on what format.
@fabiosimoes31334 жыл бұрын
@@MasteringProgrammingTapAway I want to send just the text that we write on the tag
@hueimin44223 жыл бұрын
Is it possible to share data via nfc between 2 Android devices in an app?
@MasteringProgrammingTapAway3 жыл бұрын
Not from mobile to mobile directly
@sirironheart55352 жыл бұрын
Does this work with NXP RFID Card 13.56MHz Read Write NFC IC ? Please reply. I need to know this for a project.. 😊🙏
@MasteringProgrammingTapAway2 жыл бұрын
Hi, yes it should
@sirironheart55352 жыл бұрын
@@MasteringProgrammingTapAway Thank you 🙏
@ahmadbasyir418 Жыл бұрын
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.
@chosencode5881 Жыл бұрын
Hey not sure if this helps but NFC is a kind of RFID. If you want to use RFID for UHF(Ultra High Frequency) tags you cannot use a normal phone to detect those kind of tags. NFC is just RFID in the freqeunce of 13.56 MHZ. Other RFID operates in 800-900 MHZ
@The_Regolino Жыл бұрын
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
@fabiosimoes31334 жыл бұрын
Hello if I try to write for the first time in a TAG with nothing in there, the app crashes, but when I write with text in the TAG, it works fine... Can you help me?
@MasteringProgrammingTapAway4 жыл бұрын
Sure, sorry could you describe the situation a bit better ?
@fabiosimoes31334 жыл бұрын
@@MasteringProgrammingTapAway so I have my TAG with nothing in there, no plain text content and I write in the app and press the button, the app goes down and the TAG continues empty, but if my TAG already has a plaintext content, I can change the text and the app works fine. I did everything like in the video
@gamesoo7 Жыл бұрын
how to set type so we can identify which type dta it is like url or name or mobile while reading tags
@gabrielbalbuena77873 жыл бұрын
When I generate the app, says error can´t install the app, even when I turn off play protect
@MasteringProgrammingTapAway3 жыл бұрын
What error do you get in android studio?
@cristiancapannini37964 жыл бұрын
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"); //
@MasteringProgrammingTapAway4 жыл бұрын
www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html This link contains all the codes for each language.
@sta.x2 жыл бұрын
Fix for Android 12: readfromIntent(getIntent()); pendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE); IntentFilter tagDetected = new IntentFilter(NfcAdapter.ACTION_TAG_DISCOVERED); tagDetected.addCategory(Intent.CATEGORY_DEFAULT); writingTagFilters = new IntentFilter[] { tagDetected };
@MasteringProgrammingTapAway2 жыл бұрын
Thanks a lot man!
@manucod022 жыл бұрын
You've saved my life thanks dude!!!
@qennu8 ай бұрын
tyty
@김민재-u7i3j4 жыл бұрын
It was very helpful. I'm curious about reading NFC, not writing it.
@MasteringProgrammingTapAway4 жыл бұрын
Thank you. The tutorial does including nfc reading as well!
@maxidesantafe87 Жыл бұрын
hola, hay alguna forma de leer una TAG y simularlar, por ejemplo para abrir la puerta de mi casa con mi celualr con nfc??
@陈运达-g4p6 ай бұрын
is it possible to get the number of the power which nfc tag get through the phone by programming it
@MasteringProgrammingTapAway6 ай бұрын
You can get all information the tag interacts with!
@Drozka193 жыл бұрын
Hi, why did you create the nfc_tech_filter.xml but you didn't include in your manifest? Your code doesn't works and your demonstration is on your own phone (running another code)
@MasteringProgrammingTapAway3 жыл бұрын
Most people’s feedback say it works. I’ve had some people emailing me saying it doesn’t work and then I resolve it for them. Are you sure you didn’t do anything wrong ?
@c99kfm3 жыл бұрын
How can a 1080p video be so blurry? Did you upscale it?
@MasteringProgrammingTapAway3 жыл бұрын
I have no idea man. Things just go weird everyone and then but I was using obs for the first time
@presidentgamingz Жыл бұрын
amazing, i hate the ads on free tag reader man
@emresolak47943 жыл бұрын
Is it possible to read rfid tags with nfc integration ?
@MasteringProgrammingTapAway3 жыл бұрын
With android devices I think so.
@samgroeneveld92062 жыл бұрын
i got a question how can i lock the nfc with the app. so only this particular app can write it. ive heard of using APDU control. but can you explain more about it. thanks
@MasteringProgrammingTapAway2 жыл бұрын
I've replied back to your email saying: I think the best way to do this is to add the card UID in a database, when someone is about to write to a tag you would then check first to see if the tag has the same UID in the database, if yes then write to it.
@karentechnologies39903 жыл бұрын
It's very helpful but the copy/paste and the playback speed tricks are very annoying, Actually this app is big enough to be broken into multiple videos instead
@MasteringProgrammingTapAway3 жыл бұрын
Yeah I realised from the feedback everyone is giving. Thank You a lot
@feradjyounes54503 жыл бұрын
Please, how do I use infrared on Android?
@akshatsharma33923 жыл бұрын
Dude what are the commands to copy and paste the code. Where can i copy the code from?
@MasteringProgrammingTapAway3 жыл бұрын
Hey Akshat, You can find the Source Code here: www.tapaway.com.au/product-page/android-nfc-app-java
@talhaarif122 жыл бұрын
I try to build an apk and install it on my phone, but cant open it and cant find out why? Can you please help??
@MasteringProgrammingTapAway2 жыл бұрын
For whoever is trying to implement this on an app, if you're switching from another Activity and you're getting an error (app crashes), you may have to modify the inmutable flag, modify line 71 for this: pendingIntent = PendingIntent.getActivity(this,0,new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP),PendingIntent.FLAG_IMMUTABLE);
@ulhasanzk22493 жыл бұрын
what template did you use
@MasteringProgrammingTapAway3 жыл бұрын
Hmm not too sure, but the UI was meant for another project. Sorry
@irenealfaro4974 жыл бұрын
Great video! But I have a problem. Every time a press the button I always get myTag==null so I can't write in a NFC Tag, have anyone an idea of what is happening? I can read perfectly but I cannot write :( . Thank you
@irenealfaro4974 жыл бұрын
I've done exactly what the video said.
@MasteringProgrammingTapAway4 жыл бұрын
Hi, it seems like you might have an issue with the Tag itself.
@irenealfaro4974 жыл бұрын
@@MasteringProgrammingTapAway :( But when I try to write it with an app downloaded from Play Store it works perfectly.
@fabiosimoes31334 жыл бұрын
@@irenealfaro497 @MasteringProgramming it happens with me too... is there any reason ?
@fabiosimoes31334 жыл бұрын
@@MasteringProgrammingTapAway it happens with me too.. is there any reason?
@serdarpinar61862 жыл бұрын
hi.. how can i read nfc in background on IOS. I read nfc but IOS automatically opens popup. ? do you know ?
@MasteringProgrammingTapAway2 жыл бұрын
Background reading in IOS has to be done through a pop up notification first. Apple does not allow you to direct the user to anything without them having to make an initial step first such as clicking on the notification.
@serdarpinar61862 жыл бұрын
@@MasteringProgrammingTapAway thanks alot.. I guessed but it sounded ridiculous. I hope apple gives up on this.
@engygerges32713 жыл бұрын
Great i want help .. i want code to detect UID of nfc tag and if the UID in the database write on it if not UID on database not write on nfc tag
@MasteringProgrammingTapAway3 жыл бұрын
Hey Engy, Sorry for the long time to reply. This can defiantly be done. What database are you using? Thanks
@alaaaloha82083 жыл бұрын
Hello , id like to make an app dealing with terminal commamds I give to for android , u know termux its a linux environment to do some tasks inside . wt I wanna make is app apply commands in linux environment . i want to make the environment and commandes to be applied . Thanks
@alaaaloha82083 жыл бұрын
Any idea where can I start , do u have some explanations
@MasteringProgrammingTapAway3 жыл бұрын
Sorry but I am not sure exactly
@haole196142 жыл бұрын
what about serial number ,how to read it
@Макс-и6д8х3 жыл бұрын
Hellow pls help me, i have follow every your step. But i have a problem. App is running when i launch it in android studio on my phone, But BIG promlem is that programm does not install app on device.
@MasteringProgrammingTapAway3 жыл бұрын
Hey, Have a look at this link, and it should help you out! stackoverflow.com/questions/46301958/android-studio-installing-apk-on-phone-but-cant-find-the-app
@emitterlight59763 жыл бұрын
Макс, если еще актуально, поменяй код в манифесте на этот:
@SantanuARCPal Жыл бұрын
Can you give this code link?
@mladenobradovic4121 Жыл бұрын
Hello, I have a problem where action is always null when i scan nfc tag. String action = intent.getAction(); It's in the readFromIntent method. Do you maybe have an idea what could be the problem there?
@gabrielpalmeri9660 Жыл бұрын
change PendingIntent.FLAG_IMMUTABLE to PendingIntent.FLAG_MUTABLE, sorry for the little delay of the reply
@tamara.armstrong4 жыл бұрын
Is it possible to embed social media links ? And if so can you please make a video on this ?
@MasteringProgrammingTapAway4 жыл бұрын
It’s possible to embed URLs and Links. If you are however interested to create a project like popl or Tappy then this is something I can also do. Please check my website and portfolio as I have created this project multiple times before :) www.tapaway.com.au
@adriancastor48153 жыл бұрын
Salut, je souhaite fair un sorte que lorsque je passe la carte, il me recupere et affiche l'ID de ma carte. Comment faire ?
@MasteringProgrammingTapAway3 жыл бұрын
Sorry I did not understand
@arifurrahman62043 жыл бұрын
i am getting BUTTON RELEASED instead of getting the actual text while reading scanning the text inside.Could anyone please help?Its freaking me out.
@ashokas58122 жыл бұрын
Peer to peer communication ..like with an IOT (active nfc) with Android ? Any limitations
@MasteringProgrammingTapAway2 жыл бұрын
I am sorry but I do not have enough information on this. Good luck
@jacobbillotti76262 жыл бұрын
would this app work to read nfc data that is sent from a POS system? I'd like to know what type of information is communicated between a payment app such as google pay, and the card reader. Specifically, I would like to know what information the card reader sends to your phone, as I hope to pull merchant category codes. Would I be able to read all the data sent by a card terminal with this app? I really appreciate the tutorial by the way and if you can answer my question then you really are a god.
@MasteringProgrammingTapAway2 жыл бұрын
Hey Jacob, Sorry for the late response. I researched what you asked, and from what I am understanding yes you can manipulate this code to read from a POS system. Currently this app would not allow you to do that, but you can change it to do so. You will need to check the POS documentation you are using to see how you can make the app communicate with the POS system. Thanks
@ezeevienranullo3 жыл бұрын
Hello, is this code is also working on a external reader/writer device ? like this device NFC Reader - ACR122U
@MasteringProgrammingTapAway3 жыл бұрын
Unfortionaly this code only works for Android Phones. Thanks
@duynguyenhoang30743 жыл бұрын
You run this on a laptop, how do you see it running on a phone? please
@MasteringProgrammingTapAway3 жыл бұрын
I have an android device connected to the laptop. I share the screen of the android device on the computer and then record the entire screen.
@duynguyenhoang30743 жыл бұрын
@@MasteringProgrammingTapAway For example, if I don't connect to my phone, can I run it directly on my laptop?
@MasteringProgrammingTapAway3 жыл бұрын
No, you need to directly connect the laptop to the phone. you might also wanna look into publishing the app as an apk. but most simple way is through cable.
@melvinhoogendoorn80834 жыл бұрын
Is it also possible to add more Textviews that wil print also to the tag?
@MasteringProgrammingTapAway4 жыл бұрын
Hi Melvin, Sorry for the late reply. It is decently possible to add more TextFields. Also regarding the App crashing, it seems like some people have also complained about this. I am not sure if it is depending on the Android device they have. But from what I am understanding that once they handled the error, it worked straight away. Please let me know if you have fixed that problem. Other wise I can defiantly help you out.
@melvinhoogendoorn80834 жыл бұрын
@@MasteringProgrammingTapAway Thansk for the reply. The app crashing is fixed but I am staring blindly at the code but cannot find a part where I cant add more Textfields Where can I find information regarding that
@basopro3 жыл бұрын
Hi @Masterprogramming, can i use this code to write on MiFare NFC card for fuel Payment card ( write, and read card balance, card Pin Code , ...) ?
@MasteringProgrammingTapAway3 жыл бұрын
I think with some playing around you should be able to for sure
@muthuagritechnician79432 жыл бұрын
Ndef not connected sir
@MasteringProgrammingTapAway2 жыл бұрын
What is the error you are getting?
@pendekarkoding5043 жыл бұрын
how to protect tag after write, just write with my app?
@MasteringProgrammingTapAway3 жыл бұрын
You can write a password or lock the tag!
@depressedorange90884 жыл бұрын
I'm getting this error. AAPT: error: attribute android:mimetype not found. I followed all the steps, is it smth related to compile SdkVersion? Please help :)
@MasteringProgrammingTapAway4 жыл бұрын
Are you sure you followed all the steps? There is a part where you need to add the mime type in the manifest.
@depressedorange90884 жыл бұрын
@@MasteringProgrammingTapAway Yes It shows the error when I compile and run it. Says URI not registered following multiple errors. Is there anyway to contact you? Thank you
@MasteringProgrammingTapAway4 жыл бұрын
@@depressedorange9088 Sure, Please contact me via twitter, twitter.com/David__Bolis
@sadiq257411 ай бұрын
hi i want to hire you . i have nfc reader acr122u and i want you to create my project. plz reply
@MasteringProgrammingTapAway11 ай бұрын
Hi Sadiq, Sorry for the late reply, I just replied to your email now!
@osamazaid80873 жыл бұрын
does it read rfid cards?
@MasteringProgrammingTapAway3 жыл бұрын
Unfortunately this solution only works for NFC and not rfid!
@j2adloe5423 жыл бұрын
Hi, good day! Have you created an application that is focused on NFC checking attendance? So like you scan the tag which has a unique NFC number, the app then verifies this number from a database, and if present it then marks it as green on an excel file. This was like our plan for our school project but the Github project on which we based this was not working. And if u have a project like this? how much would you offer it for us? on a side note, do u accept Crypto Payments? Thanks!
@MasteringProgrammingTapAway3 жыл бұрын
Hey J2, I have built a project just like this twice! please email me on davidbolis@tapaway.com.au or send me a message on whatsapp on this number: +61 0429326795 Looking forward to hearing back from you
@j2adloe5423 жыл бұрын
@@MasteringProgrammingTapAway I just sent you an email, Hoping for your response!
@basopro3 жыл бұрын
My Second question is about security, how to secure card with ( ssl certificate file per example) ...to avoir any card hack?
@MasteringProgrammingTapAway3 жыл бұрын
NFC Tags are secure however I would not depend on their security tbh. I would rather store a url or a link to a secure webpage where all the important stuff happens.
@suaraalam77963 жыл бұрын
how to post UID to own server?
@MasteringProgrammingTapAway3 жыл бұрын
once you collect the UID simply just push it to any server or database you have.
@Lokulicious3 жыл бұрын
for any following tutorials, make sure to at the very least type the code. you literally showed us how to copy and paste code, and then you ask for 5 euro to actually get the code you copy paste??? you didn't even explain what it does, i have learned basically nothing, and this will just confuse people.
@MasteringProgrammingTapAway3 жыл бұрын
Thank you for the feedback I will use it for future videos. It actually took me 4 hours to come up with this video. NFC is a little bit hard to explain with programming and this was just the easiest way I found. Either way I hope you understand it someday. Good luck
@duynguyenhoang30743 жыл бұрын
Any kind of nfc tag is fine, just bring it closer
@MasteringProgrammingTapAway3 жыл бұрын
No Some tags can work some tags will not depending on type
imagine providing the link where you copied everything to the people that watch, or at least give the credits
@MasteringProgrammingTapAway3 жыл бұрын
Hey Mihai, I used NXP datasheet to create this video. First I read the datasheet, then I created a Java file with the code that I will be using. Along with some other resources that I used. To view the datasheet you can visit this link www.nxp.com/docs/en/data-sheet/PN512.pdf
@depressedorange90884 жыл бұрын
great video. Can you make a video on how to use react native for NFC reading and writing
@MasteringProgrammingTapAway4 жыл бұрын
I will make a video soon, however I’ve noticed that NFC functionality works best with Native environments.
@depressedorange90884 жыл бұрын
@@MasteringProgrammingTapAway Oh thanks for the info. :)
@--vv--3 жыл бұрын
@@MasteringProgrammingTapAway Could you do this still? or if you have link
@NUNNUN.CHANEL2 жыл бұрын
ขอบคุณนะคะ
@kamardib30892 жыл бұрын
It doesn't work. Bug detected, won't open.
@MasteringProgrammingTapAway2 жыл бұрын
What’s the bug or error you get ?
@kamardib30892 жыл бұрын
@@MasteringProgrammingTapAway nothing specific, I have no errors when I write the code. It's just when I run the app on my phone, it crashed upon opening and tells me that there's a bug
@sta.x2 жыл бұрын
@@MasteringProgrammingTapAway Same here. I found out that If your app targets Android 12, you must specify the mutability of each PendingIntent object that your app creates. Still havent got it running tho
@sta.x2 жыл бұрын
@@kamardib3089 Fixed it for Android 12: readfromIntent(getIntent()); pendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE); IntentFilter tagDetected = new IntentFilter(NfcAdapter.ACTION_TAG_DISCOVERED); tagDetected.addCategory(Intent.CATEGORY_DEFAULT); writingTagFilters = new IntentFilter[] { tagDetected };
@qennu8 ай бұрын
@@sta.x thxx brooo
@cjdunn32612 жыл бұрын
This "tutorial" is you copying and pasting and explaining almost nothing
@SlosII Жыл бұрын
The amound of code required in Java to do just about anything is insane. What a waste of a programmers time. Why do I have to be messing around at the byte level and have intricate knowledge of NFC? This is useless. I just want to read a string or write a string, really??!!
@faze75743 жыл бұрын
all I heard was simply copy and paste :/
@MasteringProgrammingTapAway3 жыл бұрын
I apologise, but the video was too long when I explained everything.
@muthuagritechnician79432 жыл бұрын
Hai sir
@MasteringProgrammingTapAway2 жыл бұрын
Hi how can I help
@saulmaldonado46077 ай бұрын
You don't need to store context in a global variable. Please do not do these things on your videos. People will think it's ok
@MasteringProgrammingTapAway7 ай бұрын
What’s the best approach to do this? Thanks
@josefjanda40083 жыл бұрын
It's functional. I didn't see that coming. Thanks. I could use the source code. I've written a lot from this video.
@MasteringProgrammingTapAway3 жыл бұрын
I am glad you found it functional! You can actually purchase this source code from my website for only 2$!! www.tapaway.com.au/product-page/android-nfc-app-java
@rehanng Жыл бұрын
actually I did not found it functional , app do not open in mobile device I have done same coding as in video
@rafaelpierotti3093 Жыл бұрын
Guys someone can help me? I did this code, but happen this error error: '{' expected } try catch (IOException e) { ^ In this part of the code } catch (IOException e) { Toast.makeText(context, Erro_Escrever, Toast.LENGTH_LONG). show(); e.printStackTrace(); My e is in red and i don't know why, if someone can help i will be very grateful
@juancarlosguevaram.45892 жыл бұрын
For whoever is trying to implement this on an app, if you're switching from another Activity and you're getting an error (app crashes), you may have to modify the inmutable flag, modify line 71 for this: pendingIntent = PendingIntent.getActivity(this,0,new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP),PendingIntent.FLAG_IMMUTABLE);
@MasteringProgrammingTapAway2 жыл бұрын
Thank you so much for commenting this, I will pin your comment!
@ahmadbasyir418 Жыл бұрын
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.