I am attempting to create an application centered around NFC paired with multiple RFIDs. For this reason I am programming the RFIDs with NDefRecords that open a specific activity in my application. The NdefMessage doing this is as follows And my manifest for the activity I am opening uses the following intent filter: The code that is writing to the
Tag: nfc
How to read data from a sector using NFC on Android
I am trying to read the data from an NFC card I have for a project. It is using Mifare classic 1k and has 16 sectors. I am able to connect to the card and I’m trying to read the data (I know the data that I want is in the 2nd sector – 2nd Block). I can scan the
onNewIntent in Fragments in android
I am trying to develop a NFC application. I need to recognize the NFC TAG from the OnNewIntent that in the Activity class. Now I need to move and use fragments and not activity. Is their a way to replace the onNewIntent in the fragment class? Answer According to here (https://stackoverflow.com/a/5320694/3736955), you cant catch NFC intent by BroadcastReceiver. The only