locked
NFC RRS feed

  • Question

  • User525 posted

    Hi All,

    Anyone have examples of reading and writing NFC tags?

    Thanks

    Wednesday, October 31, 2012 9:42 AM

Answers

  • User35 posted

    Pushed the code to the monodroid-samples up on GitHub. The code on Github has some comments and some trivial tweaks. Going to kill the link to the zip file on GitHub.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, November 16, 2012 4:40 AM

All replies

  • User447 posted

    I am also desperate for a tutorial on this using Xamarin! Willing to pay $$ for someone to create one!

    Monday, November 12, 2012 4:26 AM
  • User35 posted

    I've whipped up a quick example of using NFC. Should be making it into a proper recipe soon. In the meantime, you can download the code and look at it if you'd like.

    It's a pretty simple app. It will write a string to an NFC Tag. When the app is running and it detects the NFC tag, it will display an image that's associated with the string.

    Thursday, November 15, 2012 7:57 PM
  • User447 posted

    Thank you so much!

    I'll stick around these forums and hopefully be able to contribute as I get better.

    Kind regards, Le-roy Staines

    Friday, November 16, 2012 3:01 AM
  • User35 posted

    Pushed the code to the monodroid-samples up on GitHub. The code on Github has some comments and some trivial tweaks. Going to kill the link to the zip file on GitHub.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, November 16, 2012 4:40 AM
  • User447 posted

    Cool

    Friday, November 23, 2012 12:55 AM
  • User447 posted

    Do you know if there is any way to capture ALL nfc tags? URL-encoded tags are still opening in the browser.

    Friday, November 23, 2012 7:50 AM
  • User447 posted

    Ok I got it. It is to do with the DataMimeType.

    Friday, November 23, 2012 8:57 AM
  • User3447 posted

    topgenorth the example is not available.

    Thanks

    Wednesday, September 25, 2013 8:07 AM
  • User565 posted

    https://github.com/xamarin/monodroid-samples/tree/master/NfcSample as part of monodroid-samples is perfectly reachable.

    Wednesday, September 25, 2013 8:27 AM
  • User3447 posted

    No, not work :( I have last versión and I'm using the API_15

    Tuesday, October 29, 2013 3:59 PM
  • User209 posted

    @MarcRubino

    Make sure you have set the correct startup project, and there is at least one Activity with MainLauncher set to true, in the Activity flags.

    Tuesday, October 29, 2013 4:13 PM
  • User3447 posted

    The application is the same version that the GitHub and is correctly configured. It is necessary have special android simulation version to use NFC ?

    Tuesday, October 29, 2013 4:18 PM
  • User209 posted

    No, but NFC cannot be simulated. But the error you get indicates that no project has been chosen as the startup project.

    Tuesday, October 29, 2013 4:35 PM
  • User35 posted

    Just tried the sample from Github, and it worked for me on my Galaxy Nexus running Android 4.3 (API level 18).

    As @Cheesebaron mentioned, NFC doesn't work in the emulator - you need an NFC device.

    Wednesday, October 30, 2013 3:57 PM
  • User3447 posted

    OK, I have tried with emulator and NFC center.

    Thanks.

    Thursday, October 31, 2013 2:02 PM
  • User62662 posted

    Anyone still got the file of the fourth post here? The link doesnt work anymore. Thanks

    Friday, July 18, 2014 8:27 AM
  • User209 posted

    @sebastian_hattinger? https://github.com/xamarin/monodroid-samples/tree/master/NfcSample works fine for me.

    Friday, July 18, 2014 12:23 PM
  • User103916 posted

    Is there a way of having shared code for Droid & WP for NFC? Anyone did that?

    Saturday, January 31, 2015 2:53 PM
  • User209 posted

    It is very platform dependent so no.

    Saturday, January 31, 2015 11:35 PM
  • User97735 posted

    how can i automatically read data from nfc tag. I'm following the sample on github. thanks

    Sunday, February 1, 2015 7:06 PM
  • User103916 posted

    https://github.com/poz1/NFCForms

    A library from a close friend. He did a good job. Check it out

    Friday, February 27, 2015 11:18 AM
  • User110950 posted

    @nickelnext , just tried the library on the link you posted.

    In did, your friend did a great job. Thanks a bunch for the link!

    Friday, February 27, 2015 11:22 AM
  • User132022 posted

    In NFC card reader sample not able to get the CommonSampleLibrary. Please help.

    Monday, June 1, 2015 12:20 PM
  • User132166 posted

    Great!

    Monday, June 1, 2015 8:22 PM