id='post-body-4763004725655463927'>
And the demo code is in Javascript...which seems to be more dominant in Windows 8:
Microsoft has created a new mechanism for sharing information between applications in Windows 8 called Windows Share. Apps can share text, bitmaps, HTML, URI, files, and other type of data, and the usage scenarios are numerous. For example, the app receiving the information can post it to Tweeter or Facebook make it easy to post information to a social network without actually visiting it.
Billie Sue Chafins, Senior Program Manager Lead, and Steve Seixeiro, Partner Development Manager, Microsoft Corporation, presented the session “Share: your app powers the Windows 8 share experience” at BUILD 2011. They detailed the new sharing feature coming up in Windows 8. Windows Share is sort of a universal live clipboard, allowing applications to transfer information between them, but it is much well integrated into the system and richer compared to the traditional clipboard.
Windows Share accepts the following standard data formats: text, RTF, bitmaps, storage items (e.g. files), URI, HTML, but there is also the extensible format that can be used to transfer any stream of information: addresses, contacts, people, geo-location, etc. When the user wants to share some information from an application, he is presented with a list of applications accepting the respective type of information, and the data is transparently transferred upon selecting one of them.
The Share features defines the following types of participants to the process:
- Source – any application that has information for sharing with other applications
- Target – any application consuming the information shared by other apps
- Broker – the transfer mediator between the source and the target
Most applications can be a source, if it has anything to share, and Microsoft encourages developers to make their applications sources of information. Targets will be those applications interested in receiving and processing information. The advantage of Share is the fact that Windows will have built-in protocol for exchanging information and applications developers no longer need to agree on a certain format in order to be able to exchange data. For extensible formats, the parties involved need to agree on the data format used, so it is recommended to use standardized ones such those supported by Schema.org.
One example is sharing a web page’s URL or some text from IE to social networks such as Twitter or Facebook, the target applications Tweet@rama and Socialite taking care of posting data to the respective networks. The information sharing possibilities are numerous, and it is expected the developers to create many such applications.
http://www.infoq.com/news/2011/09/Windows-Share
Posted via email from Kevin Raffay's Domain
Source: http://kevinraffay.blogspot.com/2011/09/print-contribute-news-news-windows.html
0 nhận xét: on "Kevin Raffay's Blog: Print Contribute News News Windows Share, a ..."
Post a Comment