I just installed the Nfc Demo from google, but it doesn´t read the information from the Tag.-> It just provides some fakeTag information. Has anybody an idea, where I can change the sample to read from the nfc Tag? Or has somebody a working nfc demo for the nexus?
If we could bring a nfc demo to work, many people would have the possibility to develop a nfc demo on their own.
Best regards Alexander
There are two parts to the NfcDemo. There is the detector activity, which responds to NFC tag intents, then there is the FakeTag activity which allows you to send fake tag intents to the first part. But the first part will detect real NFC tags too, as long as NFC is enabled. Check under Settings -> Wireless to see if NFC is turned on. If it is and you have the NfcDemo installed, you should be able to detect NFC tags. However, the NfcDemo is only configured to detect NDEF tags, so if you have some other type of NFC tag (e.g., Mifare Classic), you'll either need to get another app, or modify NfcDemo to handle the other NFC tag types.