2011年10月17日
摘要: 引用using System.Windows.Media.Imaging;usingSystem;usingSystem.Net;usingSystem.IO;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windows.Documents;usingSystem.Windows.Ink;usingSystem.Windows.Input;usingSystem.Windows.Media;usingSystem.Windows.Media.Imaging;usingSystem.Windows.Media.Anima 阅读全文
posted @ 2011-10-17 16:53 Kingly 阅读(451) 评论(0) 推荐(1) 编辑
  2011年10月13日
摘要: <phone:PhoneApplicationPage.ApplicationBar><shell:ApplicationBarIsVisible="True"><shell:ApplicationBarIconButtonIconUri="/Images/appbar_button1.png"Text="Won'twork"Click="ApplicationBarIconButton_Click"/></shell:ApplicationBar></ 阅读全文
posted @ 2011-10-13 14:06 Kingly 阅读(172) 评论(0) 推荐(0) 编辑
摘要: App.csusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Net;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windows.Documents;usingSystem.Windows.Input;usingSystem.Windows.Media;usingSystem.Windows.Media.Animation;usingSystem.Windows.Media.Imaging;usingSystem.Wind 阅读全文
posted @ 2011-10-13 10:13 Kingly 阅读(253) 评论(0) 推荐(0) 编辑
  2011年10月12日
摘要: 应用程序通常需要预加载一些资源以保证应用程序可以启动后这些资源立即可用,即使这会导致在加载完成前应用程序暂不显示。启动画面就是在其他内容还在加载时呈现的一个内容区域。所有的Windows Phone 项目模板都包含一个启动画面图片。其默认文件名为SplashScreenImage.jpg ,当程序正在启动时会自动显示。如果你的程序需要花费1秒以上的时间才能呈现第一个页面,那么建议你为程序设置一个启动画面。你可以使用Windows Phone 项目模板提供的默认启动画面,也可以创建自己的启动画面以展示商标或产品信息,如应用Logo、免责声明等。如果你想在启动画面上展示一些重要信息,并且延长其显示 阅读全文
posted @ 2011-10-12 15:21 Kingly 阅读(895) 评论(0) 推荐(0) 编辑
  2011年10月8日
摘要: Bing Map对于中国用户来说还是不行,很多地理位置没有标明,而且不够细致,所以立刻想到的就是Google Map,于是找了一下相关资源,在Windows Phone应用中使用Google Map其实非常简单,下面详述一下步骤: 1. 有一个封装好的DLL类库:googlemaps.dll(点击下载),这个是核心内容,在项目里首先添加该DLL的引用:2. 添加到XAML文件中几个引用并命名xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps" 阅读全文
posted @ 2011-10-08 13:04 Kingly 阅读(474) 评论(4) 推荐(2) 编辑
摘要: Windows Phone 7手指画图应用 - FingerPainthttp://www.silverlightchina.net/html/wp7/resource/2010/1030/3037.html 自制手机界面切换效果(持续更新)http://www.silverlightchina.net/html/wp7/resource/2011/0816/9791.htmlFoursquare for Windows Phone 7 http://4square.codeplex.com/[被遗弃的小指]监控宝Windows Phone 7客户端http://www.gwewe.com/d 阅读全文
posted @ 2011-10-08 12:25 Kingly 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 《从入门到精通:Windows Phone 7应用开发》 http://www.gwewe.com/dev/download/1012110069.html 阅读全文
posted @ 2011-10-08 11:33 Kingly 阅读(285) 评论(0) 推荐(0) 编辑
摘要: http://bbs.51cto.com/archiver/tid-863385.htmlvoid microphone_BufferReady(object sender, EventArgs e) { this.Dispatcher.BeginInvoke(() => { microphone.GetData(buffer); stream.Write(buffer, 0, buffer.Length); TimeSpan tsTemp = timer.Elapsed; TextBlockSeconds.Text = tsT... 阅读全文
posted @ 2011-10-08 11:18 Kingly 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://www.blogjava.net/JAVA-HE/archive/2007/02/07/98527.html对两种情况,这个文件不需要修改:1importorg.xml.sax.Attributes;2importorg.xml.sax.helpers.DefaultHandler;3importorg.xml.sax.SAXException;4importjava.util.Properties;56publicclassConfigParserextendsDefaultHandler7{8////定义一个Properties用来存放dbhostdbuserdbpasswo 阅读全文
posted @ 2011-10-08 10:45 Kingly 阅读(1672) 评论(0) 推荐(0) 编辑
  2011年10月5日
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using Microsoft.Ph 阅读全文
posted @ 2011-10-05 18:11 Kingly 阅读(487) 评论(0) 推荐(0) 编辑