09 2011 档案

摘要: 1. 在mango中新增了下列启动器与选择器 Address Chooser Task、Bing Maps Task、Bing Maps Directions Task、Game Invite Task、Save Contact Task、Save Ringtone Task、Share Link Task、Share Status Task 2. Scheduled 任务和后台代理允许应用程序可以在后台执行代码,甚至这个应用程序没有在前台运行。Scheduled 任务有两种类型:PeriodicTask和ResourceIntensiveTask。 一个应用程序最多只能有一个后台代理。 3. Periodic代理和resource-intensive代理在运行的时候不能消耗内存超过6M,而Audio代理则限制为15M。一旦超出这个内存限制,这些代理都会立即被终止。 阅读全文
posted @ 2011-09-24 21:42 Alexis 阅读(2263) 评论(7) 推荐(3) 编辑
摘要: 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 everywhere in common software development. A good logging tool may helps a lot in solving problems. Here I recommend logging tool in WP7Contr 阅读全文
posted @ 2011-09-23 06:43 Alexis 阅读(2501) 评论(14) 推荐(2) 编辑
摘要: 今天很高兴在快乐技术沙龙中分享了我做账户助手时的一些经验教训,总结了7条比较有意思的实战技巧。 可能今天有些朋友对Windows Phone 手机开发不怎么熟悉,听我讲的东西可能有些吃力,在这里表示抱歉。Anyway, AccountHelper是一个很好的练手项目。 涉及到的知识点有: 1.使用MVVMLight框架 阅读全文
posted @ 2011-09-17 19:40 Alexis 阅读(2081) 评论(29) 推荐(2) 编辑
摘要: In Windows Phone Mango update, we can use VideoBrush since we could not do that in windows phone 7 . So there is something interesting to do. We can develop more fantasitic apps. For example, we can play a video as background in our application. We want to play video in a loop also. But here comes the problem. Since there is no MediaTimeline in Silverlight for Windows Phone API. How can we repeat media playbac 阅读全文
posted @ 2011-09-10 11:09 Alexis 阅读(2016) 评论(6) 推荐(3) 编辑
摘要: Windows Phone 实用开发技巧记录了我平时遇到的问题以及相应的处理方法,记录下来以自己后面查看,也希望其他朋友能够尽量少走弯路,不要一个bug调半天。 将这些开发技巧整理为一电子书与大家共享: 阅读全文
posted @ 2011-09-08 07:17 Alexis 阅读(6481) 评论(69) 推荐(49) 编辑
摘要: 我们知道Windows Phone 中ApplicationBar的Text属性不是依赖属性,不能采取绑定的方法实现文本的国际化,那么我们在实际开发中是怎么实现ApplicationBar的文本多语言的呢?有如下几种方法: 1. 在后置代码中生成AppBar,文本使用资源文件 这种方法是最简单的方法,就是在将XAML代码翻译为C#代码,其中的一个好处就是Text可以国际化。 2. 使用静态资源 这个方法类似于样式,即Text={"StaticResource Appbar_Save"}的形式。实现的 阅读全文
posted @ 2011-09-07 21:39 Alexis 阅读(2363) 评论(5) 推荐(3) 编辑
摘要: 在上篇开发技巧《Windows Phone 实用开发技巧(18):使用SystemTray显示全局消息提醒》 中介绍了Mango中新增的API ProgressIndicator的使用,以两个小Demo展示了它的作用,其实还有一个非常实用的属性IsIndeterminate可以用来显示正在busy的状态。 用过mango真机的童鞋有没有注意到,短信界面中可以登录当前的MSN,上面的状态显示条就是使用的 ProgressIndicator。 还有Office中的"Getting your document from skydrive"也是使用的ProgressIndicator。可见ProgressIndicator是一个显示当前状态很好的途径。 阅读全文
posted @ 2011-09-04 08:15 Alexis 阅读(5667) 评论(7) 推荐(3) 编辑

点击右上角即可分享
微信分享提示