如果我正在使用共享协议和共享文件,是否可以在Windows 8地铁应用程序中设置邮件应用程序的主题? [英] Is it possible to set a subject to the mail app in Windows 8 metro application, if I am using share contract and sharing files?

查看:172
本文介绍了如果我正在使用共享协议和共享文件,是否可以在Windows 8地铁应用程序中设置邮件应用程序的主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我正在将Windows 8地铁应用程序的内容分享到另一个应用程序(例如Mailto应用程序):



现在我正在共享文件mailto应用程序使用共享协议和共享文件从我的应用程序,



我想知道如果: -


  1. 我可以将主题设置为与我共享文件的mailto应用程序作为该mailto应用程序的附件,如果是,请让我知道如何做到这一点?


  2. 如果没有,请让我知道你的工作是什么?



解决方案

到目前为止,这是不可能的。



Windows 8最近推出了一种称为协议激活的新API。通过协议激活,您可以从应用程序启动其他Windows 8应用程序并传入数据。 Microsoft在Maps应用程序上工作,现在可以将信息传递给Map应用程序,如这里所示(地图应用程序的URI Scheme) http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx



请参阅 http://博客的代码演练。 jerrynixon.com/2012/10/walkthrough-using-windows-8-custom.html



现在,我很快肯定会看到一些邮件应用的自定义参数,您可以使用协议激活从您的应用程序传递。



只需我的2美分


First of all, I am sharing the content from my windows 8 metro application to another app (for example Mailto app) so:

Now I am sharing files to mailto app using share contract and sharing files from my application,

I wanted to know if: -

  1. Can I set the subject to the mailto app to which I am sharing files as an attachement to that mailto app, if so please let me know how can I do this?

  2. If not, please let me know what is the work around?

解决方案

As of now, it's not possible.

Windows 8 recently introduced a new API called protocol activation. With Protocol activation, you can launch other windows 8 apps from your application and pass in data. Microsoft worked on Maps app and you can now pass information to the Map app as shown here (URI Scheme for maps application) http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx

See a code walkthrough at http://blog.jerrynixon.com/2012/10/walkthrough-using-windows-8-custom.html

Now, i am sure very soon, you will see some custom parameters for Mail app that you can pass from your app using protocol activation.

Just my 2 cents

这篇关于如果我正在使用共享协议和共享文件,是否可以在Windows 8地铁应用程序中设置邮件应用程序的主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆