我們知道,Silverlight 下是不支援GB2312編碼的,所以Silverlight for Windows Phone 自然也不支援GB2312編碼,以致無法使用網上的“C# 漢字轉拼音”的方法。其實我們可以使用一種笨方法,即將漢字和拼音放在一個數組中,然後遍曆數組進行匹配。建立一個中文輔助類ChineseHelper ,其中有兩個靜態方法,得到漢字對應的拼音以及判斷字元是否為漢字 下面是測試代碼及運行效果 原始碼下載:
What is logging ? Logging is the felling, skidding, on-site processing, and loading of trees or logs onto trucks. And since windows phone is much more event driven. you can find more information in Event Logging.Why to use logging ? Exception is
Windows Phone7允許建立多個頁面,但並不像Windows mobile程式一樣,可能關閉視窗或最小化,而是通過跳轉的方式來實現的。但是其跳轉方式也不同於PC上Sliverlight的跳轉方式。不過其傳值方式卻是一樣的。一.跳轉: 可以通過這條語句來完成:this.NavigationService.Naviagte(new Uri("/testPage.xaml",
隨著 Windows Phone手機在中國上市時間表的臨近,越來越多的開發人員已經摩拳擦掌,正在開發基於 Windows Phone的行動裝置 App。微軟與諾基亞此次聯手,為所有的開發人員提供一次較大規模,全面深入淺出的Windows Phone訓練營活動,讓你在兩天之內,免費獲得所有有關設計開發Windows Phone應用程式的秘籍!並且您還有機會現場體驗 Nokia Lumia手機,無論你是剛剛接觸 Windows Phone
XNA Framework and Windows Phone 8 development You cannot create new XNAprojects that target Windows Phone 8 Developer PreviewYoucannot create new XNA projects, that target Windows Phone 8 Developer Preview.If you select an XNA project template, then
眾所周知Windows Phone 7 與Windows Live 有很好的結合度,使用者可以通過Live ID 登入到Windows Phone 7,擷取個人的Live 資訊,例如:連絡人、郵件、Xbox Live。本篇我們來一起探索在Windows Live 上能對Windows Phone 7 手機做些什麼。 首先我們登入到Windows Live 網址:http://login.live.com,在Windows Live 菜單中選擇“Devices”。