Answered by:
Proximity API and NFC - SubscribeForMessage Tags

Question
-
Hi
What are the different tags to look for besides WindowsURI ? For e.g. i am writing an application that i would prefer to launch using an NFC tag. I have an external reader that can write NDEF messages. What is the tag that windows looks for ?
Also, we were able to get the BitBox application to work by tapping after me and my friend were connected to Wifi. It appears that BitBox uses Wifi Direct to communicate.
Wednesday, December 21, 2011 9:03 PM
Answers
-
Try checking here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh701129.aspx
It lists all supported message types.
Thanks,
Mike [MSFT]
- Proposed as answer by Mike L [MSFT] Tuesday, May 8, 2012 8:47 PM
- Marked as answer by Parag Friday, May 25, 2012 2:36 AM
Tuesday, May 8, 2012 8:47 PM
All replies
-
Hi Parag,
Did you see this sample: http://code.msdn.microsoft.com/windowsapps/Proximity-Sample-88129731 ?
This may help you as well: http://msdn.microsoft.com/en-us/library/windows/apps/hh465221.aspx
-Jeff
Jeff Sanders (MSFT)- Edited by Jeff SandersMicrosoft employee, Moderator Tuesday, December 27, 2011 2:40 PM
Tuesday, December 27, 2011 2:39 PMModerator -
Hi Jeff
Yes. I did. The only "messageType" I am aware of to check is "WindowsUri" like so _proximityDevice.SubscribeForMessage("WindowsUri", MessageReceived);
I want to store plain text on the tag and read the tag. So what should I replace "WindowsUri" with?
E.g. Is there a "WindowsXML" or "WindowsText" messageType?
Regards
Parag
Sunday, January 1, 2012 10:02 PM -
Try checking here: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh701129.aspx
It lists all supported message types.
Thanks,
Mike [MSFT]
- Proposed as answer by Mike L [MSFT] Tuesday, May 8, 2012 8:47 PM
- Marked as answer by Parag Friday, May 25, 2012 2:36 AM
Tuesday, May 8, 2012 8:47 PM