我正在使用实现共享合同的JavaScript和HTML编写metro应用程序.我希望我的应用程序的用户将数据发布到Facebook等社交网站.我已在我的系统中配置了People应用程序,但我没有在超级按钮栏的共享窗格中获取它(人员应用程序选项).我在商店下载的其他应用程序中看到了People应用程序选项.在这方面的任何帮助都将受到高度赞赏.
谢谢
小智 5
Windows 8 Release Preview的People app仅支持Share Link.Windows 8 RTM的People App支持文本和链接共享.
分享文字:
request.Data.Properties.Title = "Share Text Example";
//Description is Optional
request.Data.Properties.Description = "A demonstration that shows how to share text.";
request.Data.SetText("Hello World!");
Run Code Online (Sandbox Code Playgroud)
分享链接:
request.Data.Properties.Title = "Share Link Example";
//Description is Optional
request.Data.Properties.Description = "Demonstrates how to add a link (URI) to share.";
request.Data.SetUri(new Uri("http://www.google.com"));
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1483 次 |
最近记录: |