Is it possible to install a theme for a mail application in an application for Windows 8 if I use a contract for shared access and file sharing?

First of all, I use the content from my application to connect to window 8 in another application (for example, the Mailto application), therefore:

Now I am sharing files in the mailto application using the file sharing and sharing agreement from my application,

I wanted to know if: -

  • Can I install an object in the mailto application to which I share files as an attachment to this mailto application, if so, let me know how I can do this?

  • If not, tell me what kind of work?

+6
source share
3 answers

This is currently not possible.

Windows 8 recently introduced a new API called protocol activation. When you activate the protocol, you can run other applications from Windows 8 from your application and transfer data. Microsoft worked on the Maps application, and now you can transfer information to the Map application, as shown here (URI scheme for map applications) http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx

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

Now, I’m sure, very soon you will see some custom settings for the Mail application, which you can transfer from your application using protocol activation.

Only my 2 cents

+3
source

No, this is not possible at the moment.

+1
source

I can’t understand the question correctly, but if all you want to do is click the Share button on the Enchant panel, then select the Mail application and be able to fill in the subject line is displayed when the Mail application pop-up window is displayed ", you can follow this approach:

private DataTransferManager dataTransferManager; //class member // put the following code block wherever you need it: // Register as a share source if (this.dataTransferManager == null) { this.dataTransferManager = DataTransferManager.GetForCurrentView(); this.dataTransferManager.DataRequested -= this.OnDataRequested; try { this.dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested); } catch { }; } private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs e) { DataRequest request = e.Request; DataRequestDeferral deferal = request.GetDeferral(); try { // this property will set your subject line // it will also be shown on the Share fly-out (right below the main // heading that says 'Share' request.Data.Properties.Title = GetCustomMailSubjectLine(); if (string.IsNullOrEmpty(request.Data.Properties.Title)) { request.FailWithDisplayText("An operation failed. Please try again."); } else { // this will also be shown on the Share fly-out, right below the 'Title' // property set above request.Data.Properties.Description = GetMyAppsSharingDesciption(); // use request.Data.SetDataProvider() if your data needs to be asynchronously retrieved // otherwise directly use request.Data.SetData() (or one of the other //methods depending on what you need) request.Data.SetDataProvider(StandardDataFormats.Html, RetrieveSharedData); } } finally { deferal.Complete(); } } private async void RetrieveSharedData(DataProviderRequest request) { DataProviderDeferral deferal = request.GetDeferral(); try { // this will set your email body request.SetData(await GetCustomMailBodyAsync()); } finally { deferal.Complete(); } } 
+1
source

All Articles