nfc peerfinder class
-
Wednesday, March 07, 2012 5:07 AM
Dear all,
I have a doubt on peerfinder class.
I have deployed my app on two machines having NFC enabled. I am calling peerfinder.start("my_own_message"); I launched app on one machine and tapped the other machine.
Then windows showed a popup, "you are invited would you like to launch the app?",
After I clicked ok, it is just lanching the similar app on other machine
but I have not received the message sent above by calling peerfinder.start("my_own_message");
How to receive the message sent by peer app by calling peerfinder.start("my_own_message");
- Moved by Rob CaplanMicrosoft Employee, Moderator Friday, March 09, 2012 12:49 AM (From:Building Metro style apps with C# or VB )
All Replies
-
Friday, March 09, 2012 5:40 AMModerator
Hi Kelvy,
Is your app subscribing to your message?
What is your app trying to do with the message? How are the two apps intended to interact?
--Rob
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Wednesday, June 06, 2012 5:15 AM
-
Wednesday, June 06, 2012 5:15 AMModerator
Kelvy,
Try having your app subscribe to your message.
Best Wishes - Eric
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Wednesday, June 06, 2012 5:15 AM
-
Wednesday, June 06, 2012 1:22 PM
The information appears in the start-up parameters on the app launched automatically on the second machine.http://www.alanjmcf.me.uk/ Please follow-up in the newsgroup. If I help, please vote and/or mark the question answered. Available for contract programming.
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Wednesday, June 06, 2012 6:54 PM
-
Thursday, June 21, 2012 1:19 AM
You need to handle the application activated event and get the message out of the LaunchActivatedEventArgs. The Proximity sample shows how to check this: http://code.msdn.microsoft.com/windowsapps/Proximity-Sample-88129731
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Thursday, June 21, 2012 3:38 AM


