Skip to content
Advertisement

Tag: nfc

Using NFC to open my application causes a separate version of it to be opened instead of the one that was open when RFID was found

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

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

Advertisement