title: Writing NFC tag so that it works with both Android and Windows Phone8
body: <p>I am looking for some advice regarding NFC data. </p>
  
  <p>I have a device, lets say a printer or speaker. I want to put a NFC tag on this device. The data I want to put in NFC tag is DeviceName/MacAddress/Password. </p>
  
  <p>Now the requirement is when ever user touches my tag with Android or Windows phone</p>
  
  <ol>
  <li>My app should be launched. </li>
  <li>If my app is not already installed it should take me to Play Store or Windows store </li>
  <li>I shoul be able to get data from NFC tag in my application (DeviceName/MacAddress/Password)</li>
  </ol>
  
  <p>As of now I could get it done in Android using 2 NDEF records</p>
  
  <ol>
  <li>Custom MIME type record with my data (application/vnd.pakage.name )</li>
  <li>Android Application record.</li>
  </ol>
  
  <p>The issue is how can I launch app in Windows Phone?
  As I understand with custom Mime application/vnd.pakage.name Windows application could not be launched. Pls. let me know if I am wrong.</p>
  
  <p>Windows LaunchApp record should be the first record and if I make that as first record then in Android I don't get my data.</p>
  
  <p>The Only soluction which looks probable is the NDEF records in following formats.</p>
  
  <ol>
  <li>Custom URI with my data (myscheme://my.package.com?DeviceName/MacAddress/Password)</li>
  <li>Android application record.</li>
  </ol>
  
  <p>But using this format also I am not able to get data in Android. Pls. let me know if there is any better solution? How I can get data in Android?</p>
  
  <p>Thanks</p>