天天看點

與衆不同 windows phone (37) - 8.0 檔案系統: StorageFolder, StorageFile, 通過 Uri 引用檔案, 擷取 SD 卡中的檔案

<a href="http://files.cnblogs.com/webabcd/WindowsPhone.rar">[源碼下載下傳]</a>

與衆不同 windows phone (37) - 8.0 檔案系統: StorageFolder, StorageFile, 通過 Uri 引用檔案, 擷取 SD 卡中的檔案

介紹

與衆不同 windows phone 8.0 之 檔案系統

通過 StorageFolder 和 StorageFile 實作檔案的讀寫

通過 Uri 引用檔案

擷取 SD 卡中的内容

示例

1、示範如何通過 StorageFolder 和 StorageFile 實作檔案的讀寫

FileSystem/ReadWriteDemo.xaml

FileSystem/ReadWriteDemo.xaml.cs

2、示範如何通過 Uri 引用檔案,以及對各種檔案路徑做簡要說明

FileSystem/UriDemo.xaml

FileSystem/UriDemo.xaml.cs

3、示範如何擷取 SD 卡中的内容

FileSystem/SDDemo.xaml

FileSystem/SDDemo.xaml.cs

OK