Pages

Monday 13 August 2012

Share Text in between Windows 8 Metro Application using Share Contract


Two Metro applications can shared the content between them using Share Charm. Content can be as simple as text or may be image or a file. In content sharing, the application that shares content is called as Source Application and the application that receives content is called as Target Application. Source Application and Target Application need to declare the type of content; they are intent to share in a Declaration.
Declaration can be configured in the package.appmanifest file. Click onpackage.appmanifest file and then select Declaration tab. From the Available Declarations drop down select Share target and check SupportedAnyFile Type in Supported File Types. See the image below.
Share Text in between Windows 8 Metro Application using Share Contract

Read full article here

No comments:

Post a Comment

Web Informer Button