Windows 8.1 Äpipäev Ondrej Stastny Microsoft Premier Field Engineer Windows 8 APIs User interface Accessibility Data binding Devices Portable Sensors Live tiles and toast Input Controls Graphics and media HTML5/CSS Communications and data Direct2D Direct Write Local storage SMS Skydrive Playback Capture PlayTo Streams Background transfer Bing Canvas SVG Syndication Networking Azure Mobile XML and JSON Contracts Xbox Live Printing Fundamentals Application services Threading/timers Services Direct3D Geo-location Proximity XAML Memory management Globalization Cryptography Authentication Windows 8.1 updated APIs User interface Accessibility Data binding Devices Portable Sensors Live tiles and toast Input Controls Graphics and media HTML5/CSS Communications and data Direct2D Direct Write Local storage SMS Skydrive Playback Capture PlayTo Streams Background transfer Bing Canvas SVG Syndication Networking Azure Mobile XML and JSON Contracts Xbox Live Printing Fundamentals Application services Threading/timers Services Direct3D Geo-location Proximity XAML Memory management Globalization Cryptography Authentication Windows 8.1 new APIs User interface Accessibility Data binding Devices Live tiles and toast Input Controls Graphics and media HTML5/CSS XAML Communications and data Speech synthesis Services Portable Geo-location Point of service Direct3D Direct2D Direct Write Local storage SMS HTTP Skydrive Sensors Proximity USB Playback Capture PlayTo Streams Background transfer Contacts Bing HID WiFi direct Bluetooth Canvas SVG WebGL Syndication Networking Appointments Azure Mobile Printing 3D printing Scanning XML and JSON Contracts PDF Xbox Live Fundamentals Application services Threading/timers Memory management Globalization Cryptography Authentication Diagnostics Large tiles (310×310 px) Wide tiles (310×150 px) Small tiles (70×70 px) Square tiles (150×150 px) Property Description Name A general name that is used for the app package. For example, "myCompany.mySuite.myApp". Note This name isn't necessarily what is displayed on the app tile. Publisher The publisher of the Windows Store app. In most cases, the publisher is the same as the account that was used to register for a Windows 8 developer account. Version A four-part version descriptor (major.minor.build.revision) that is used to service future releases of the app (for example, "1.0.0.0"). ProcessorArchitecture Set to neutral by default. ResourceID Set to "~" by default. • Information or User Input • Button has a Flyout property • FlyoutBase.AttachedFlyout for other elements // Schedule some work. var job1 = S.schedule(function () { window.output("Running job1"); }, S.Priority.normal); window.output("Scheduled job1"); // Schedule more work. var job2 = S.schedule(function () { window.output("Running job2"); }, S.Priority.normal); window.output("Scheduled job2"); var ownerObject = S.createOwnerToken(); // Schedule some work. var job1 = S.schedule(function () { window.output("Running job1 with owner1"); }, S.Priority.normal); job1.owner = ownerObject; var job2 = S.schedule(function () { window.output("Running job2 with owner1"); }, S.Priority.normal); job2.owner = ownerObject; Window.output(“Canceling jobs”) ownerObject.cancelAll(); var uri = new Uri("http://example.com/data.aspx"); var httpClient = new HttpClient(); // Always catch network exceptions for async methods. httpClient.GetStringAsync (uri).done(function () { // Get completed operation. }, onError); function onError(reason) { // Details in reason.Message and ex.HResult. }