[源碼下載]
[重新想象 Windows 8.1 Store Apps 系列文章]
作者:webabcd
1、重新想象 Windows 8 Store Apps (1) - 控件之文本控件: TextBlock, TextBox, PasswordBox, RichEditBox, RichTextBlock, RichTextBlockOverflow
介紹
重新想象 Windows 8 Store Apps 之 控件
- TextBlock - 文本顯示框
- TextBox - 文本輸入框
- PasswordBox - 密碼輸入框
- RichEditBox - 富文本編輯框
- RichTextBlock - 富文本顯示框
- RichTextBlockOverflow - 溢出文本顯示框
2、Windows 8 Store Apps (2) - 控件之按鈕控件: Button, HyperlinkButton, RepeatButton, ToggleButton, RadioButton, CheckBox, ToggleSwitch
介紹
重新想象 Windows 8 Store Apps 之 控件
- Button - 按鈕控件
- HyperlinkButton - 超鏈按鈕
- RepeatButton - 按住后會重復執行單擊操作的按鈕
- ToggleButton - 可切換狀態的按鈕
- RadioButton - 單選框控件
- CheckBox - 復選框控件
- ToggleSwitch - 狀態切換控件
3、重新想象 Windows 8 Store Apps (3) - 控件之內容控件: ToolTip, Frame, AppBar, ContentControl, ContentPresenter; 容器控件: Border, Viewbox, Popup
介紹
重新想象 Windows 8 Store Apps 之 控件
- ToolTip - 提示框控件
- Frame - 框架控件,用於導航內容
- AppBar - 應用程序欄控件
- ContentControl ContentPresenter - ContentPresenter 用來呈現 ContentControl 的 Content
4、重新想象 Windows 8 Store Apps (4) - 控件之提示控件: ProgressRing; 范圍控件: ProgressBar, Slider
介紹
重新想象 Windows 8 Store Apps 之 控件
- ProgressBar - 進度條控件
- Slider - 滑動條控件
5、重新想象 Windows 8 Store Apps (5) - 控件之集合控件: ComboBox, ListBox, FlipView, ItemsControl, ItemsPresenter
介紹
重新想象 Windows 8 Store Apps 之 控件
- ComboBox - 下拉框
- ListBox - 列表框
- FlipView - 滑動視圖控件
- ItemsControl ItemsPresenter - ItemsPresenter 用來呈現 ItemsControl 的 Items
6、重新想象 Windows 8 Store Apps (6) - 控件之媒體控件: Image, MediaElement
介紹
重新想象 Windows 8 Store Apps 之 控件
- Image - 圖片控件
- MediaElement - 播放視頻或音頻的控件
7、重新想象 Windows 8 Store Apps (7) - 控件之布局控件: Canvas, Grid, StackPanel, VirtualizingStackPanel, WrapGrid, VariableSizedWrapGrid
介紹
重新想象 Windows 8 Store Apps 之 控件
- Canvas - 絕對定位式布局
- Grid - 網格式布局
- StackPanel - 流式布局
- VirtualizingStackPanel - 僅能用於 ItemsControl
- WrapGrid - 僅能用於 ItemsControl
- VariableSizedWrapGrid - 用於 Wrap 子元素集合
8、重新想象 Windows 8 Store Apps (8) - 控件之 WebView
介紹
重新想象 Windows 8 Store Apps 之 控件
- 演示 WebView 的基本應用
- 演示 WebView 如何與 JavaScript 交互
- 通過 Share Contract 分享 WebView 中的內容
- 如何全屏 WebView
9、重新想象 Windows 8 Store Apps (9) - 控件之 ScrollViewer 基礎
介紹
重新想象 Windows 8 Store Apps 之 控件
- 演示 ScrollViewer 的基本應用
- 演示 ScrollBar 的基本應用
- 演示 ScrollContentPresenter 的基本應用
10、重新想象 Windows 8 Store Apps (10) - 控件之 ScrollViewer 特性: Chaining, Rail, Inertia, Snap, Zoom
介紹
重新想象 Windows 8 Store Apps 之 控件
- Chaining - 鎖鏈
- Rail - 軌道
- Inertia - 慣性
- Snap - 對齊
- Zoom - 縮放
11、重新想象 Windows 8 Store Apps (11) - 控件之 ListView 和 GridView
介紹
重新想象 Windows 8 Store Apps 之 控件
- ListView - 列表控件
- GridView - 網格控件
12、重新想象 Windows 8 Store Apps (12) - 控件之 GridView 特性: 拖動項, 項尺寸可變, 分組顯示
介紹
重新想象 Windows 8 Store Apps 之 控件
- 拖動項 - 在 GridView 內拖動 item 以對 item 排序, 拖動 item 到 GridView 外的指定位置以刪除 item
- 項尺寸可變 - 指定 GirdView 中每個 item 所占尺寸
- 分組顯示 - 分組顯示集合數據
13、重新想象 Windows 8 Store Apps (13) - 控件之 SemanticZoom
介紹
重新想象 Windows 8 Store Apps 之 控件
- 演示 SemanticZoom 的應用
- 通過 ISemanticZoomInformation 接口實現自定義 SemanticZoom 的 View
14、重新想象 Windows 8 Store Apps (14) - 控件 UI: RenderTransform, Projection, Clip, UseLayoutRounding
介紹
重新想象 Windows 8 Store Apps 之 控件
- RenderTransform - 變換(用於做位移,旋轉,縮放,扭曲等變換)
- Projection - 映射
- Clip - 剪裁並顯示 UIElement 的指定區域
- UseLayoutRounding - 是否使用完整像素布局
15、重新想象 Windows 8 Store Apps (15) - 控件 UI: 字體繼承, Style, ControlTemplate, SystemResource, VisualState, VisualStateManager
介紹
重新想象 Windows 8 Store Apps 之 控件
- 字體繼承 - 繼承父輩的 Font 相關的信息
- Style - 樣式
- ControlTemplate - 控件模板
- 系統資源 - 系統內置的樣式資源
- VisualState - 視圖狀態
- VisualStateManager - 視圖狀態管理器
16、重新想象 Windows 8 Store Apps (16) - 控件基礎: 依賴屬性, 附加屬性, 控件的繼承關系, 路由事件和命中測試
介紹
重新想象 Windows 8 Store Apps 之 控件
- DependencyProperty - 依賴屬性
- AttachedProperty - 附加屬性
- 控件的繼承關系
- 路由事件和命中測試
17、重新想象 Windows 8 Store Apps (17) - 控件基礎: Measure, Arrange, GeneralTransform, VisualTree
介紹
重新想象 Windows 8 Store Apps 之 控件
- Measure() 和 Arrange() - xaml 的 layout 系統
- GeneralTransform - 通過 UIElement.TransformToVisual() 獲取元素的位置信息
- VisualTree - 可視樹
18、重新想象 Windows 8 Store Apps (18) - 繪圖: Shape, Path, Stroke, Brush
介紹
重新想象 Windows 8 Store Apps 之 繪圖
- Shape - 圖形
- Path - 路徑
- Stroke - 筆划
- Brush - 畫筆
19、重新想象 Windows 8 Store Apps (19) - 動畫: 線性動畫, 關鍵幀動畫, 緩動動畫
介紹
重新想象 Windows 8 Store Apps 之 動畫
- 線性動畫 - 共有 3 種: ColorAnimation, DoubleAnimation, PointAnimation, 它們均繼承自 Timeline
- 關鍵幀動畫 - 共有 4 種:ColorAnimationUsingKeyFrames, DoubleAnimationUsingKeyFrames, PointAnimationUsingKeyFrames, ObjectAnimationUsingKeyFrames 它們均繼承自 Timeline
- 緩動動畫 - easing
20、重新想象 Windows 8 Store Apps (20) - 動畫: ThemeAnimation(主題動畫)
介紹
重新想象 Windows 8 Store Apps 之 動畫
- PopInThemeAnimation - 控件出現時的動畫, PopOutThemeAnimation - 控件消失時的動畫
- FadeInThemeAnimation - 控件淡入的動畫, FadeOutThemeAnimation - 控件淡出的動畫
- PointerDownThemeAnimation - 鼠標(手指)在控件上按下時的動畫, PointerUpThemeAnimation - 鼠標(手指)在控件上抬起時的動畫
- SwipeHintThemeAnimation - 控件的 Swipe 動畫(當你的控件在收到 Swipe 后會做響應時), SwipeBackThemeAnimation - 控件的 Swipe 動畫(當你的控件在收到 Swipe 后不需要做任何響應時)
- RepositionThemeAnimation - 控件重新定位時的動畫
- SplitOpenThemeAnimation - 打開“拆分”控件的動畫, SplitCloseThemeAnimation - 關閉“拆分”控件的動畫
- DragItemThemeAnimation, DragOverThemeAnimation, DropTargetItemThemeAnimation - 顧名思義的一些動畫效果,用於集合類的控件
21、重新想象 Windows 8 Store Apps (21) - 動畫: ThemeTransition(過渡效果)
介紹
重新想象 Windows 8 Store Apps 之 動畫
- ThemeTransition 的概述
- EntranceThemeTransition - 頁面間跳轉時的過渡效果
- ContentThemeTransition - 內容改變時的過渡效果
- RepositionThemeTransition - 位置改變時的過渡效果
- PopupThemeTransition - 彈出時的過渡效果
- AddDeleteThemeTransition - 添加項或刪除項時的過渡效果
- ReorderThemeTransition - 對集合中的元素重新排序時的過渡效果
- PaneThemeTransition - 基於邊緣的較大 UI 滑入和滑出時的過渡效果
- EdgeUIThemeTransition - 基於邊緣的較小 UI 滑入和滑出時的過渡效果
22、重新想象 Windows 8 Store Apps (22) - 文件系統: 訪問文件夾和文件, 通過 AQS 搜索本地文件
介紹
重新想象 Windows 8 Store Apps 之 文件系統
- File Access - 訪問文件夾和文件,以及獲取文件的各種屬性
- Folder Access - 遍歷文件夾時的一些特殊操作
- Thumbnail Access - 獲取文件的縮略圖
- AQS - 通過 AQS(Advanced Query Syntax)搜索本地文件
23、重新想象 Windows 8 Store Apps (23) - 文件系統: 文本的讀寫, 二進制的讀寫, 流的讀寫, 最近訪問列表和未來訪問列表
介紹
重新想象 Windows 8 Store Apps 之 文件系統
- 演示如何讀寫文本數據
- 演示如何讀寫二進制數據
- 演示如何讀寫流數據
- 演示如何讀寫“最近訪問列表”和“未來訪問列表”
24、重新想象 Windows 8 Store Apps (24) - 文件系統: Application Data 中的文件操作, Package 中的文件操作, 可移動存儲中的文件操作
介紹
重新想象 Windows 8 Store Apps 之 文件系統
- Application Data(應用程序數據存儲) 中的文件操作
- Application Data(應用程序數據存儲) 中的“設置”操作
- 通過 uri 引用 Application Data(應用程序數據存儲) 中的媒體(圖片、視頻或音頻)
- 訪問 Package 中的文件
- 訪問可移動存儲
25、重新想象 Windows 8 Store Apps (25) - 選取器: 文件選取窗口, 文件夾選取窗口, 文件保存窗口
介紹
重新想象 Windows 8 Store Apps 之 選取器
- FileOpenPicker - 選擇一個文件或多個文件
- FolderPicker - 選擇一個文件夾
- FileSavePicker - 保存文件到指定路徑
26、重新想象 Windows 8 Store Apps (26) - 選取器: 自定義文件選取窗口, 自定義文件保存窗口
介紹
重新想象 Windows 8 Store Apps 之 選取器
- FileOpenPickerUI - 自定義文件打開選取器
- FileSavePickerUI - 自定義文件保存選取器
27、重新想象 Windows 8 Store Apps (27) - 選取器: 聯系人選取窗口, 自定義聯系人選取窗口
介紹
重新想象 Windows 8 Store Apps 之 選取器
- ContactPicker - 聯系人選取器
- ContactPickerUI - 自定義聯系人選取器
28、重新想象 Windows 8 Store Apps (28) - 選取器: CachedFileUpdater(緩存文件更新程序)
介紹
重新想象 Windows 8 Store Apps 之 選取器
- CachedFileUpdater - 緩存文件更新程序
29、重新想象 Windows 8 Store Apps (29) - 圖片處理
介紹
重新想象 Windows 8 Store Apps 之 圖片處理
- 顯示圖片
- 圖片的 9 切片
- WriteableBitmap
- 獲取和修改圖片屬性
- 對圖片文件做“縮放/旋轉/編碼”操作,並保存操作后的結果
30、重新想象 Windows 8 Store Apps (30) - 信息: 獲取包信息, 系統信息, 硬件信息, PnP信息, 常用設備信息
介紹
重新想象 Windows 8 Store Apps 之 信息
- 獲取包信息
- 獲取系統信息
- 獲取硬件信息
- 獲取即插即用(PnP: Plug and Play)的設備的信息
- 獲取常用設備信息
31、重新想象 Windows 8 Store Apps (31) - 加密解密: 哈希算法, 對稱算法
介紹
重新想象 Windows 8 Store Apps 之 加密解密
- hash 算法(MD5, SHA1, SHA256, SHA384, SHA512)
- hmac 算法(MD5, SHA1, SHA256, SHA384, SHA512)
- 本地數據的加密解密
- 對稱算法(AES, DES, 3DES, RC2, RC4)
32、重新想象 Windows 8 Store Apps (32) - 加密解密: 非對稱算法, 數據轉換的輔助類
介紹
重新想象 Windows 8 Store Apps 之 加密解密
- 非對稱算法(RSA)
- 簽名和驗證簽名(RSA)
- 通過 CryptographicBuffer 來實現 string hex base64 binary 間的相互轉換
33、重新想象 Windows 8 Store Apps (33) - 關聯啟動: 使用外部程序打開一個文件或uri, 關聯指定的文件類型或協議
介紹
重新想象 Windows 8 Store Apps 之 關聯啟動
- 使用外部程序打開一個文件
- 使用外部程序打開一個 Uri
- 關聯指定的文件類型(即用本程序打開指定類型的文件)
- 關聯指定的協議(即用本程序處理指定的協議)
34、重新想象 Windows 8 Store Apps (34) - 通知: Toast Demo, Tile Demo, Badge Demo
介紹
重新想象 Windows 8 Store Apps 之 通知
- Toast - 通知的應用
- Tile - 瓷貼的應用
- Badge - 徽章的應用
- Badge - 輪詢服務端以更新 Badge 通知
35、重新想象 Windows 8 Store Apps (35) - 通知: Toast 詳解
介紹
重新想象 Windows 8 Store Apps 之 通知
- Toast - 基本應用參見 http://www.cnblogs.com/webabcd/archive/2013/06/17/3139740.html
- Toast - 純文本 toast
- Toast - 圖文 toast
- Toast - toast 的提示音
- Toast - 按計划彈出 toast
36、重新想象 Windows 8 Store Apps (36) - 通知: Tile 詳解
介紹
重新想象 Windows 8 Store Apps 之 通知
- Tile - 基本應用參見 http://www.cnblogs.com/webabcd/archive/2013/06/17/3139740.html
- Tile - 全部 Tile 模板
- Tile - 在一個 Tile 上循環顯示多個 TileNotification
- Tile - 一個 app 多個 Tile
- Tile - 按計划更新 Tile 通知, 輪詢服務端以更新 Tile 通知
37、重新想象 Windows 8 Store Apps (37) - 契約: Settings Contract
介紹
重新想象 Windows 8 Store Apps 之 契約
- Settings Contract - 右側邊欄稱之為 Charm,其中的“設置”稱之為 Settings Contract
38、重新想象 Windows 8 Store Apps (38) - 契約: Search Contract
介紹
重新想象 Windows 8 Store Apps 之 契約
- Search Contract - 右側邊欄稱之為 Charm, 其中的“搜索”稱之為 Search Contract
- 使用 Search Contract 的搜索建議,數據源在本地,以及從輸入法編輯器中獲取相關信息
- 使用 Search Contract 的搜索建議,數據源在服務端,以及為搜索建議增加圖標、描述等
- 使用 Search Contract 的基於本地文件的搜索建議,數據來源於文件的 metadata
39、重新想象 Windows 8 Store Apps (39) - 契約: Share Contract
介紹
重新想象 Windows 8 Store Apps 之 契約
- Share Contract - 右側邊欄稱之為 Charm,其中的“共享”稱之為 Share Contract
40、重新想象 Windows 8 Store Apps (40) - 剪切板: 復制/粘貼文本, html, 圖片, 文件
介紹
重新想象 Windows 8 Store Apps 之 剪切板
- Clipboard - 剪切板
- 復制/粘貼文本
- 復制/粘貼html
- 復制/粘貼圖片
- 復制/粘貼文件
41、重新想象 Windows 8 Store Apps (41) - 打印
介紹
重新想象 Windows 8 Store Apps 之 打印
- 打印
42、重新想象 Windows 8 Store Apps (42) - 多線程之線程池: 延遲執行, 周期執行, 在線程池中找一個線程去執行指定的方法
介紹
重新想象 Windows 8 Store Apps 之 多線程
- 通過 ThreadPoolTimer 實現延遲執行
- 通過 ThreadPoolTimer 實現周期執行
- 通過 ThreadPool 實現“在線程池中找一個線程去執行指定的方法”
43、重新想象 Windows 8 Store Apps (43) - 多線程之任務: Task 基礎, 多任務並行執行, 並行運算(Parallel)
介紹
重新想象 Windows 8 Store Apps 之 多線程
- Task - 基於線程池的任務(在 System.Threading.Tasks 命名空間下)
- 多 Task 的並行執行
- Parallel - 並行計算(在 System.Threading.Tasks 命名空間下)
44、重新想象 Windows 8 Store Apps (44) - 多線程之異步編程: 經典和最新的異步編程模型, IAsyncInfo 與 Task 相互轉換
介紹
重新想象 Windows 8 Store Apps 之 多線程
- 經典的異步編程模型(IAsyncResult)
- 最新的異步編程模型(async 和 await)
- 將 IAsyncInfo 轉換成 Task
- 將 Task 轉換成 IAsyncInfo
45、重新想象 Windows 8 Store Apps (45) - 多線程之異步編程: IAsyncAction, IAsyncOperation, IAsyncActionWithProgress, IAsyncOperationWithProgress
介紹
重新想象 Windows 8 Store Apps 之 多線程
- IAsyncAction - 無返回值,無進度值
- IAsyncOperation - 有返回值,無進度值
- IAsyncActionWithProgress - 無返回值,有進度值
- IAsyncOperationWithProgress - 有返回值,有進度值
46、重新想象 Windows 8 Store Apps (46) - 多線程之線程同步: Lock, Monitor, Interlocked, Mutex, ReaderWriterLock
介紹
重新想象 Windows 8 Store Apps 之 多線程
- lock - 其實就是對 Monitor.Enter() 和 Monitor.Exit() 的一個封裝
- Monitor - 鎖
- Interlocked - 為多個線程共享的數字型變量提供原子操作
- Mutex - 互斥鎖,主要用於同一系統內跨進程的互斥鎖
- ReaderWriterLock - 讀寫鎖
47、重新想象 Windows 8 Store Apps (47) - 多線程之線程同步: Semaphore, CountdownEvent, Barrier, ManualResetEvent, AutoResetEvent
介紹
重新想象 Windows 8 Store Apps 之 多線程
- Semaphore - 信號量
- CountdownEvent - 通過信號數量實現線程同步
- Barrier - 屏障
- ManualResetEvent - 手動紅綠燈
- AutoResetEvent - 自動紅綠燈
48、重新想象 Windows 8 Store Apps (48) - 多線程之其他輔助類: SpinWait, SpinLock, Volatile, SynchronizationContext, CoreDispatcher, ThreadLocal, ThreadStaticAttribute
介紹
重新想象 Windows 8 Store Apps 之 多線程
- SpinWait - 自旋等待
- SpinLock - 自旋鎖
- volatile - 必在內存
- SynchronizationContext - 在指定的線程上同步數據
- CoreDispatcher - 調度器,用於線程同步
- ThreadLocal - 用於保存每個線程自己的數據
- ThreadStaticAttribute - 所指定的靜態變量對每個線程都是唯一的
49、重新想象 Windows 8 Store Apps (49) - 輸入: 獲取輸入設備信息, 虛擬鍵盤, Tab 導航, Pointer, Tap, Drag, Drop
介紹
重新想象 Windows 8 Store Apps 之 輸入
- 輸入設備的相關信息
- SIP(Soft Input Panel)的應用
- Tab 鍵導航
- Pointer - 指針,鼠標
- Tap - 觸摸
- Drag 和 Drop
50、重新想象 Windows 8 Store Apps (50) - 輸入: 邊緣手勢, 手勢操作, 手勢識別
介紹
重新想象 Windows 8 Store Apps 之 輸入
- 監測邊緣手勢
- 手勢操作 - Manipulate 的應用(位移手勢,縮放手勢,旋轉手勢)
- 手勢識別 - GestureRecognizer 的應用
51、重新想象 Windows 8 Store Apps (51) - 輸入: 塗鴉板
介紹
重新想象 Windows 8 Store Apps 之 輸入
- 通過 Pointer 相關事件實現一個具有基本功能的塗鴉板
- 通過 InkManager 實現一個功能完善的塗鴉板
52、重新想象 Windows 8 Store Apps (52) - 綁定: 與 Element Model Indexer Style RelativeSource 綁定, 以及綁定中的數據轉換
介紹
重新想象 Windows 8 Store Apps 之 綁定
- 與 Element 綁定
- 與 Model 綁定
- 與 Indexer 綁定
- 對 Style 中的 Setter 進行綁定(綁定靜態資源)
- Binding 的一個擴展標記 RelativeSource 的應用
- 綁定中的數據轉換
53、重新想象 Windows 8 Store Apps (53) - 綁定: 與 ObservableCollection CollectionViewSource VirtualizedFilesVector VirtualizedItemsVector 綁定
介紹
重新想象 Windows 8 Store Apps 之 綁定
- 與 ObservableCollection 綁定
- 與 CollectionViewSource 綁定
- 與 VirtualizedFilesVector 綁定
- 對 VirtualizedItemsVector 綁定
54、重新想象 Windows 8 Store Apps (54) - 綁定: 增量方式加載數據
介紹
重新想象 Windows 8 Store Apps 之 綁定
- 通過實現 ISupportIncrementalLoading 接口,為 ListViewBase 的增量加載提供數據
55、重新想象 Windows 8 Store Apps (55) - 綁定: MVVM 模式
介紹
重新想象 Windows 8 Store Apps 之 綁定
- 通過 MVVM 模式實現數據的添加、刪除、修改和查詢
56、重新想象 Windows 8 Store Apps (56) - 系統 UI: Scale, Snap, Orientation, High Contrast 等
介紹
重新想象 Windows 8 Store Apps 之 系統 UI
- 獲取系統的 UI 相關的設置信息
- 屏幕方向
- Snap
- 為 snap 操作和屏幕方向的改變增加動畫效果
- 縮放至不同屏幕
- 高對比度
57、重新想象 Windows 8 Store Apps (57) - 本地化和全球化
介紹
重新想象 Windows 8 Store Apps 之 本地化和全球化
- 本地化 - Demo
- 本地化 - 改變語言
- 全球化 - Demo
- 全球化 - 格式化數字
58、重新想象 Windows 8 Store Apps (58) - 微軟賬號
介紹
重新想象 Windows 8 Store Apps 之 微軟賬號
- 獲取微軟賬號的用戶相關的信息
- 獲取或設置微軟賬號的圖片和視頻
- 微軟賬號的驗證,和相關信息的獲取
59、重新想象 Windows 8 Store Apps (59) - 鎖屏
介紹
重新想象 Windows 8 Store Apps 之 鎖屏
- 登錄鎖屏,獲取當前程序的鎖屏權限,從鎖屏中移除
- 發送徽章或文本到鎖屏
- 將一個 app 的多個 tile 綁定到鎖屏
- 自定義鎖屏圖片
60、重新想象 Windows 8 Store Apps (60) - 通信: 獲取網絡信息, 序列化和反序列化
介紹
重新想象 Windows 8 Store Apps 之 通信
- 獲取網絡信息
- 序列化 - json
- 序列化 - xml
- 序列化 - rss atom
61、重新想象 Windows 8 Store Apps (61) - 通信: http, oauth
介紹
重新想象 Windows 8 Store Apps 之 通信
- HttpClient 概述
- http get string
- http get stream
- http post string
- http post stream
- OAuth 2.0 驗證的客戶端
62、重新想象 Windows 8 Store Apps (62) - 通信: Socket TCP, Socket UDP
介紹
重新想象 Windows 8 Store Apps 之 通信
- Socket - Tcp Demo
- Socket - 實現一個自定義的 http server
- Socket - Udp Demo
63、重新想象 Windows 8 Store Apps (63) - 通信: WebSocket
介紹
重新想象 Windows 8 Store Apps 之 通信
- Socket - 與 WebSocket 服務端做 Text 通信
- Socket - 與 WebSocket 服務端做 Stream(Binary) 通信
64、重新想象 Windows 8 Store Apps (64) - 后台任務: 開發一個簡單的后台任務
介紹
重新想象 Windows 8 Store Apps 之 后台任務
- 開發一個簡單的后台任務
65、重新想象 Windows 8 Store Apps (65) - 后台任務: 音樂的后台播放和控制
介紹
重新想象 Windows 8 Store Apps 之 后台任務
- 音樂的后台播放和控制
66、重新想象 Windows 8 Store Apps (66) - 后台任務: 下載和上傳
介紹
重新想象 Windows 8 Store Apps 之 后台任務
- 后台下載任務
- 后台上傳任務
67、重新想象 Windows 8 Store Apps (67) - 后台任務: 推送通知
介紹
重新想象 Windows 8 Store Apps 之 后台任務
- 推送通知
68、重新想象 Windows 8 Store Apps (68) - 后台任務: 控制通道(ControlChannel)
介紹
重新想象 Windows 8 Store Apps 之 后台任務
- 控制通道(ControlChannel)
69、重新想象 Windows 8 Store Apps (69) - 其它: 自定義啟動屏幕, 程序的運行位置, 保持屏幕的點亮狀態, MessageDialog, PopupMenu
介紹
重新想象 Windows 8 Store Apps 之 其它
- 自定義啟動屏幕
- 檢查當前呈現的應用程序是運行在本地還是運行在遠程桌面或模擬器
- 保持屏幕的點亮狀態
- MessageDialog - 信息對話框
- PopupMenu - 上下文菜單
70、重新想象 Windows 8 Store Apps (70) - 其它: 文件壓縮和解壓縮, 與 Windows 商店相關的操作, app 與 web, 幾個 Core 的應用, 頁面的生命周期和程序的生命周期
介紹
重新想象 Windows 8 Store Apps 之 其它
- 文件壓縮和解壓縮
- 與 Windows 商店相關的操作
- app 與 web
- 幾個 Core 的應用
- 頁面的生命周期和程序的生命周期
71、重新想象 Windows 8 Store Apps (71) - 其它: C# 調用 C++
介紹
重新想象 Windows 8 Store Apps 之 其它
- C# 中調用 Windows Runtime Component(C++)
- 讓 Windows Runtime Component(C++) 作為代理以調用 DLL(C++)
- 通過 C++ 和 D3D 獲取屏幕分辨率
OK
[源碼下載]