Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

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?

like image 898
user1516781 Avatar asked Nov 06 '12 09:11

user1516781


1 Answers

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

like image 85
Jim Mills Avatar answered Nov 12 '22 04:11

Jim Mills