Download - 20130923 tech days windows 8.1 what's new
![Page 1: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/1.jpg)
![Page 2: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/2.jpg)
![Page 3: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/3.jpg)
Geo-location
Proximity
Direct3D Direct2DDirect Write
PlayTo
Contracts
Bing
Azure Mobile
HTML5/CSS XAMLInput Controls
Authentication
Portable
Sensors Playback Capture
Printing
SVGCanvas
Local storage
SMS
StreamsBackground transfer
SyndicationNetworkin
g
XML and JSON
Skydrive
Live tiles and toast
Accessibility Data binding
Application services
Threading/timers
Memory management
Globalization Cryptography
Xbox Live
既有 API
![Page 4: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/4.jpg)
Geo-location
Proximity
Direct3D Direct2DDirect Write
PlayTo
Contracts
Bing
Azure Mobile
HTML5/CSS XAMLInput Controls
Authentication
Portable
Sensors Playback Capture
Printing
SVGCanvas
Local storage
SMS
StreamsBackground transfer
SyndicationNetworkin
g
XML and JSON
Skydrive
Live tiles and toast
Accessibility Data binding
Application services
Threading/timers
Memory management
Globalization Cryptography
Xbox Live
8.1 更新既有 API
![Page 5: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/5.jpg)
Geo-location
Proximity
Direct3D Direct2DDirect Write
PlayTo
Contracts
Bing
Azure Mobile
HTML5/CSS XAMLInput Controls
Authentication
Bluetooth
USB
HID WiFi direct
Point of service
3Dprinting
Scanning
WebGL
HTTP
Contacts
Appoint-ments
Speech synthesis
Diagnostics
Portable
Sensors Playback Capture
Printing
SVGCanvas
Local storage
SMS
StreamsBackground transfer
SyndicationNetworkin
g
XML and JSON
Skydrive
Live tiles and toast
Accessibility Data binding
Application services
Threading/timers
Memory management
Globalization Cryptography
Xbox Live
8.1 更新 8.1 新增既有 API
![Page 6: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/6.jpg)
![Page 7: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/7.jpg)
8.1 新增
![Page 8: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/8.jpg)
DatePicker and TimePicker
![Page 9: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/9.jpg)
Date and Time Pickers
<DatePicker Header="Select a date:"
CalendarIdentifier="JapaneseCalendar"
DayFormat="{}{day.integer} {dayofweek.abbreviated}" />
<TimePicker ClockIdentifier="24HourClock" />
![Page 10: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/10.jpg)
CalendarIdentifier
Orientation
![Page 11: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/11.jpg)
ComboBox
Slider
DatePicker
TimePicker
TextBox
PasswordBox
RichEditBox
8.1 新增
![Page 12: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/12.jpg)
Hyperlink is back!
<RichTextBlock>
<Paragraph>
<Run>Please visit our</Run>
<Hyperlink
NavigateUri="http://dev.windows.com">dev center</Hyperlink>
<Run>after the conference!</Run>
</Paragraph>
</RichTextBlock>
8.1 新增
![Page 13: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/13.jpg)
![Page 14: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/14.jpg)
![Page 15: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/15.jpg)
8.1 新增
Flyout 是一種輕量型 UI (或稱「飛出視窗」)。飛出視窗與對話方塊不同,您只要按一下或點選視窗外的地方,就可以輕鬆地將它關閉。
您可以使用飛出視窗收集使用者輸入、顯示項目的詳細資料,或是要求使用者確認動作。
飛出視窗應該只在回應使用者點選或按一下的動作時顯示,而且只要使用者在視窗外點選就會關閉。
![Page 16: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/16.jpg)
![Page 17: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/17.jpg)
Flyout
<Button Content="Show">
<Button.Flyout>
<Flyout>
<StackPanel>
<TextBlock FontWeight="Light" Text="Select a name..." />
<TextBox PlaceholderText="Choose a name..." Width="300" />
<Button HorizontalAlignment="Right" Content="Rename" />
</StackPanel>
</Flyout>
</Button.Flyout>
</Button>
![Page 18: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/18.jpg)
Flyout
<Button Content="Show">
<Button.Flyout>
<Flyout Placement="Right">
<StackPanel>
<TextBlock FontWeight="Light" Text="Select a name..." />
<TextBox PlaceholderText="Choose a name..." Width="300" />
<Button HorizontalAlignment="Right" Content="Rename" />
</StackPanel>
</Flyout>
</Button.Flyout>
</Button>
![Page 19: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/19.jpg)
MenuFlyout
<Button Content="Show">
<Button.Flyout>
<MenuFlyout>
<MenuFlyoutItem Text="Option 2"/>
<MenuFlyoutSeparator />
<ToggleMenuFlyoutItem Text="Option 3"/>
</MenuFlyout>
</Button.Flyout>
</Button>
![Page 20: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/20.jpg)
CommandBar – 更簡單的實作App Bar
• 會自動配置;其中Primary Commands會位於左側,SecondaryCommands位於右側。
• 當應用程式大小變更時,自動調整應用程式列命令大小。
<Page.BottomAppBar>
<CommandBar>
<CommandBar.PrimaryCommands>
<!-- app bar buttons here -->
</CommandBar.PrimaryCommands>
<CommandBar.SecondaryCommands>
<!-- app bar buttons here -->
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>
使用時機:
• 如果您只需要 AppBarButton、AppBarToggleButton 及 AppBarSeparator 控制項,請使用這個新的CommandBar。
• 如果需要更複雜的內容 (像是影像、進度列或文字區塊),請使用 AppBar 控制項。
![Page 21: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/21.jpg)
SettingsPane.CommandsRequested
SettingsCommand
ApplicationCommands
![Page 22: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/22.jpg)
![Page 23: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/23.jpg)
AreTransportControlsEnabled="True"
• IsFullWindow="True"
8.1 更新
![Page 24: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/24.jpg)
![Page 25: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/25.jpg)
8.1 新增
![Page 26: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/26.jpg)
![Page 27: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/27.jpg)
![Page 28: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/28.jpg)
Hub Template (中樞應用程式)
<Hub Header="My App Name">
<HubSection Header="Section 1">
<DataTemplate>
<!-- your content here -->
![Page 29: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/29.jpg)
![Page 30: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/30.jpg)
http://blogs.windows.com/windows/b/appbuilder/archive/2013/07/17/what-s-new-in-webview-in-windows-8-1.aspx
8.1 更新
![Page 31: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/31.jpg)
![Page 32: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/32.jpg)
![Page 33: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/33.jpg)
TOP 3!
![Page 34: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/34.jpg)
TOP 3!
![Page 35: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/35.jpg)
![Page 36: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/36.jpg)
RenderTargetBitmap (Windows.UI.Xaml.Media.Imaging)
適用於所有 UIElement控制項
RenderTargetBitmap render = new RenderTargetBitmap();
await render.RenderAsync(grid1);
var pixelBuffer = await render.GetPixelsAsync();
8.1 新增
![Page 37: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/37.jpg)
RenderTargetBitmap (續: 存成檔案)// Encode the image to the selected file on disk
var savePicker = new FileSavePicker();
savePicker.SettingsIdentifier = "Save File";
savePicker.DefaultFileExtension = ".jpg";
savePicker.SuggestedFileName = "insta大元";
savePicker.SuggestedStartLocation = PickerLocationId.Desktop;
savePicker.FileTypeChoices.Add("JPG", new List<string> { ".jpg" });
var saveFile = await savePicker.PickSaveFileAsync();
using (var fileStream = await saveFile.OpenAsync(FileAccessMode.ReadWrite))
{
var encoder = await BitmapEncoder.CreateAsync(BitmapEncoder.PngEncoderId, fileStream);
encoder.SetPixelData(
BitmapPixelFormat.Bgra8,
BitmapAlphaMode.Ignore,
(uint)render.PixelWidth,
(uint)render.PixelHeight,
DisplayInformation.GetForCurrentView().LogicalDpi,
DisplayInformation.GetForCurrentView().LogicalDpi,
pixelBuffer.ToArray());
await encoder.FlushAsync();
}
![Page 38: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/38.jpg)
TOP 3!
![Page 39: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/39.jpg)
![Page 40: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/40.jpg)
PDF 檔「建置動作」設為內容(content)
![Page 41: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/41.jpg)
![Page 42: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/42.jpg)
![Page 43: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/43.jpg)
![Page 44: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/44.jpg)
![Page 46: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/46.jpg)
![Page 47: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/47.jpg)
作業系統
Windows 8 Windows 8.1
O O
X O
![Page 48: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/48.jpg)
不改Code的情況,Windows 8.1 apps 就是跑的比較快!
2x fasterList panning
5-30% fasterStartup time of an app with a ListView
10-20% lowerMemory usage in XAML
15-35% fasterEditing in a WinJS ListView
![Page 49: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/49.jpg)
Windows 8
Windows 8.1
![Page 50: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/50.jpg)
![Page 51: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/51.jpg)
![Page 52: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/52.jpg)
Visual Studio 2012及Visual Studio 2013可以同時安裝並執行在同一台機器上!
![Page 53: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/53.jpg)
![Page 54: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/54.jpg)
Geo-location
Proximity
Direct3D Direct2DDirect Write
PlayTo
Contracts
Bing
Azure Mobile
HTML5/CSS XAMLInput Controls
Authentication
Bluetooth
USB
HID WiFi direct
Point of service
3Dprinting
Scanning
WebGL
HTTP
Contacts
Appoint-ments
Speech synthesis
Diagnostics
Portable
Sensors Playback Capture
Printing
SVGCanvas
Local storage
SMS
StreamsBackground transfer
SyndicationNetworkin
g
XML and JSON
Skydrive
Live tiles and toast
Accessibility Data binding
Application services
Threading/timers
Memory management
Globalization Cryptography
Xbox Live
8.1 更新 8.1 新增既有 API
![Page 57: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/57.jpg)
• BUIDL 2013 全錄影及投影片: http://buildwindows.com
• 中文部落格:• BIGeek x 程式筆記:
http://www.dotblogs.com.tw/hungys/Default.aspx
• .Net 海角點部落:
• 開發者之魂:
• Meng-Ru Tsai's Blog:
![Page 58: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/58.jpg)
馬上啟用 http://aka.ms/startmsdn
• 免費Windows Store & Phone 開發者帳號
• Windows Azure 免費點數
• Team Foundation Service 服務
![Page 59: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/59.jpg)
填妥大會背包中的大會問卷,可於活動第三天兌換問卷禮哦!
請協助完成「本課程問卷」,並在離開教室時交給工作人員!
感謝您的合作。
![Page 60: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/60.jpg)
![Page 61: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/61.jpg)
![Page 62: 20130923 tech days windows 8.1 what's new](https://reader033.vdocuments.us/reader033/viewer/2022051611/54b6f52c4a7959f5698b45c2/html5/thumbnails/62.jpg)