2011年3月5日

Windows Phone 7 网络编程之天气预报应用

摘要: 天气预报应用是通过异步调用Google天气api(http://www.google.com/ig/api?weather=城市拼音),对其进行xml的数据解析,将其数据简单的展现出在Windows Phone 7的客户端上。首页的城市数据绑定类,以及预设好的城市列表City.csView Code using System.ComponentModel;namespace WeatherForecast{ /// <summary> /// 城市绑定类 /// </summary> public class City : INotifyPropertyChanged 阅读全文

posted @ 2011-03-05 18:18 linzheng 阅读(4312) 评论(36) 推荐(7) 编辑

Windows Phone 7 网络编程之留言板应用

摘要: 这个简易的留言板,是通过手机客户端与web程序的交互来设计的,保存留言的时候将数据传输到web,显示留言的时候再从数据库取数通过web传输到客户端。加强对HttpWebRequest异步请求的学习。<phone:PhoneApplicationPage x:Class="WindowsPhoneLiuyan.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/win 阅读全文

posted @ 2011-03-05 11:42 linzheng 阅读(1611) 评论(10) 推荐(1) 编辑

导航