title: Reading a Mifare tag using Windows Phone 8 NFC?
body: <p>Does Windows Phone 8 NFC support Mifare Ultralight/Classic based tags?
  I use this code to access NFC device on Nokia Lumia 920 (code example was taken from <a href="https://projects.developer.nokia.com/nfctagreader" rel="noreferrer">NDEF Tag Reader – NFC NDEF Tag Reader</a>)</p>
  
  <pre class="lang-cs prettyprint-override"><code>public partial class MainPage : PhoneApplicationPage
  {
      public MainPage()
      {
          InitializeComponent();
          ProximityDevice device = ProximityDevice.GetDefault();
          device.DeviceArrived += DeviceArrived;
          device.DeviceDeparted += DeviceDeparted;
          device.SubscribeForMessage("NDEF", MessageReceived);
      }
  
      private void DeviceArrived(ProximityDevice sender)
      {
          // this event occurs when I am tapping any of my tags (tried 5 different Mifare Ultralight/Classic)
      }
  
      private void DeviceDeparted(ProximityDevice sender)
      {
          // this event occurs when I am moving away any tag
      }
  
      private void MessageReceived(ProximityDevice sender, ProximityMessage message)
      {
          // this event is never fired!!! :(
      }
  }
  </code></pre>
  
  <p>Is NFC on WP8 defective or is this code wrong?</p>
  
  <p><strong>Update:</strong>
  From this document <a href="http://www.nfc-forum.org/resources/white_papers/NXP_BV_Type_Tags_White_Paper-Apr_09.pdf" rel="noreferrer">NFC Forum Type Tags</a> you can find that Mifare Ultralight is compatible with NDEF. Android devices can read tags of this type easily.</p>