var dataTransferManager = Windows.ApplicationModel.DataTransfer.DataTransferManager.getForCurrentView(); dataTransferManager.addEventListener("datarequested", function (e) { var request = e.request; request.data.properties.title = "Share Link Example"; request.data.properties.description = "A demonstration that shows how to add a link (URI) to share."; request.data.setUri(new Windows.Foundation.Uri("http://www.google.com")); });
For some reason, if I click on the Share charm, it just hangs "Getting information from GodVine" (GodVine is the name of my application). It worked, then suddenly stopped working. Am I doing something wrong?
source share