摘要: 本文介绍MSDN webcast系列视频-《Silverlight for Windows Phone开发》,随着Windows Phone 7的强势推出。现在是学习Windows Phone的良机。如果您想参与,《Silverlight for Windows Phone开发》将会是您不错的选择。通过本系列课程的学习,您会具备使用Silverlight开发Windows Phone应用程序的能力,同时具备在Marketplace上销售应用的能力。心动不如行动,一起来学习Windows Phone开发吧。 阅读全文
posted @ 2010-12-06 08:44 Jake Lin 阅读(21276) 评论(298) 推荐(58) 编辑
摘要: 由于工作关系,现在专注于Windows Phone,Windows Embedded CE(WinCE)和Windows Mobile,.NET Compact Framework, Native C++领域的开发,把工作上的一些经验和知识进行总结,文章会不断完善。 阅读全文
posted @ 2009-04-13 12:22 Jake Lin 阅读(18223) 评论(41) 推荐(5) 编辑
摘要: 使用了LLVM以后,终于可以定义私有的成员变量了。@interface RadioViewController (){@private UIBackgroundTaskIdentifier task;}@property (strong, nonatomic) AVPlayer *audioPlayer;@end请注意,在m文件的categories需要使用花括号({})@property还是需要定义在花括号的外面。这样在@implementation RadioViewController@end中间就可以自由的使用这个成员变量(field)task了。 阅读全文
posted @ 2013-03-03 12:18 Jake Lin 阅读(3813) 评论(0) 推荐(1) 编辑
摘要: 由于Windows 8不支持SQL Server 2008R2.(严格来说是通过.NET程序在连接SQL Server 2008R2数据库是有错误) 那我不得不安装SQL Server 2012. 当安装完毕以后,Azure Storage Emulator启动不了,提示以下错误。 The storage emulator had an unexpected error: Unable... 阅读全文
posted @ 2013-02-04 06:18 Jake Lin 阅读(1922) 评论(0) 推荐(0) 编辑
摘要: 讲述Android开发的一些个人想法。 阅读全文
posted @ 2013-01-25 10:28 Jake Lin 阅读(4511) 评论(11) 推荐(2) 编辑
摘要: 之前使用TableView的时候都是继承UIViewController,然后继承两个delegate,如下面的代码。@interface SomeViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>这篇文章《如何使用UITableView》讲述了我怎样使用TableView。最近想使用iOS6的 UIRefreshControl,不幸的是这个UIRefreshControl 只能使用在UITableViewController里面,不能支持UIViewController。Th 阅读全文
posted @ 2013-01-24 06:29 Jake Lin 阅读(6810) 评论(0) 推荐(1) 编辑
摘要: 有一个项目使用到Oracle Client,然后部署的时候出现以下问题。 Could not load file or assembly '*******' or one of its dependencies. An attempt was made to load a program with an incorrect format.由于Oracle Client提供的DLL是32位的,因此... 阅读全文
posted @ 2013-01-15 11:43 Jake Lin 阅读(9924) 评论(0) 推荐(1) 编辑
摘要: https://devcenter.heroku.com/articles/nodejs 这篇文章讲述很清楚,只需要几步就可以建立一个node.js项目,并部署到Heroku上面. 阅读全文
posted @ 2013-01-15 10:55 Jake Lin 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 如果在Heroku.com的网站上重命名app,不会自动同步到开发机的*.git文件中,需要手工重命名。 $ git remote rm heroku$ heroku git:remote -a newnamenewname是新的app名字。可以参考https://devcenter.heroku.com/articles/renaming-apps 阅读全文
posted @ 2013-01-15 10:36 Jake Lin 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: http://cocoapods.org/ 是一个用来管理Objective-C库的工具。可以通过http://cocoapods.org/看到如何安装和使用,只需要3步就可以开始使用,使用了cocoapods,我们就不用从github上分别下载不同的库。只需要在Podfile文件上编写需要使用的库就可以了。例如以下的文件。platform :iospod 'JSONKit', '~> 1.4'pod 'Reachability', '~> 3.0.0'但有时候会发现有些Pods的版本会低于github上的最新版本,可 阅读全文
posted @ 2013-01-15 06:16 Jake Lin 阅读(6420) 评论(0) 推荐(0) 编辑
摘要: 在iOS5或者以上修改Navigation bar的颜色在AppDelegate.m里面的didFinishLaunchingWithOptions:方法加入以下的语句。- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // Override point for customization after application launch. [[UINavigationBar appearance] setTint... 阅读全文
posted @ 2013-01-13 13:04 Jake Lin 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 如果使用Xcode 4.5来新建项目,默认是支持AutoLayout的,但是AutoLayout是iOS 6的新特性,如果在iOS 5的simulator上运行程序,会出现Could not instantiate class named NSLayoutConstraint问题。解决方法是打开storyboard文件,去掉AutoLayout的选择。rob mayoff的神图一目了然。 阅读全文
posted @ 2013-01-13 08:43 Jake Lin 阅读(5052) 评论(0) 推荐(0) 编辑
摘要: 这篇文章讲述很清楚https://devcenter.heroku.com/articles/quickstart只需要四步:1.注册Sign up for a Heroku account。2.下载安装Heroku Toolbelt,其包含了git客户端(如果是windows的话,其他版本不清楚,例如Mac本身就有git了)。3.登录$ heroku loginEnter your Heroku credentials.Email: adam@example.comPassword: Could not find an existing public key.Would you like t 阅读全文
posted @ 2013-01-11 10:27 Jake Lin 阅读(652) 评论(0) 推荐(0) 编辑
摘要: 当把Web项目部署到Azure的时候,有时候会出现COULD NOT LOAD FILE OR ASSEMBLY的问题。这样问题一般是由于某些依赖的Assembly的版本不对导致的,例如在开发机上可能同时安装了MVC 3和MVC4。那么开发机不会出现问题,因为可以找到相应的Assembly。但是部署到Azure后就出现了依赖文件的问题。例如问题如下: "COULD NOT LOAD FILE O... 阅读全文
posted @ 2013-01-10 12:08 Jake Lin 阅读(3488) 评论(0) 推荐(0) 编辑
摘要: The copy of Windows is not genuine.别以为我在用盗版,这是微软自己的Azure平台,我远程登录进去,发现这么有趣的一件事。 阅读全文
posted @ 2013-01-09 11:48 Jake Lin 阅读(2012) 评论(0) 推荐(0) 编辑
摘要: 当我尝试deploy Azure pakeage的时候,我得到The certificate with thumbprint was not found错误信息。 为了偷懒,我使用了同一个certificate来做RDP。 解决这个问题,在设置RDP的时候需要新建一个证书, 一, Management Authenticate证书 在Create or select an exist... 阅读全文
posted @ 2013-01-09 08:04 Jake Lin 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 在publish的时候,如果想使用Remote Desktop有时候会出现“the remote desktop configuration was not generated by windows azure Tools”问题。这是因为我们曾经手动的改动配置文件导致的。但是由于做CI Build,因此配置文件是根据环境来生成的,所以必须面对手工修改(其实也是程序生成)文件的问题。对于这个问题,可以通过下面的步骤来解决:1. 打开ServiceDefinition.csdef文件,把下面的代码全部删除。 <Import moduleName="RemoteAccess" 阅读全文
posted @ 2013-01-09 06:31 Jake Lin 阅读(793) 评论(0) 推荐(0) 编辑