I'm stuck and can't find any solutions online jet for my problem.
What I want is to write a WindowsUri to an NFC tag wich will launch the default calendar app on a Windows or Windowsphone device. I'm not sure if this is even possible, but launching skype, or making a new contact for example is possible.
The example below writes a skype call URI to an NFC tag wich will launch skype and call the defined user when tapping a scanner. So what i'm looking for is a similar idea to launch the calendar app
using( var writer = new DataWriter
{
UnicodeEncoding = UnicodeEncoding.Utf16LE
} )
{
// Prepare the message to be published.
writer.WriteString("skype:echo123?call");
var buffer = writer.DetachBuffer();
// Publish the message. You must tap an NFC tag to your device to write
// the content to it.
long id = proximityDevice.PublishBinaryMessage( "WindowsUri:WriteTag", buffer );
}
Aucun commentaire:
Enregistrer un commentaire