2015年2月16日
摘要: 如果你各种重启服务 卸载手机 重装驱动都试过了还不行,请看看你是否安装了Hyper-v或Vitualbox虚拟机,很有可能是虚拟交换机造成的。我在网络连接属性里看到这个把它卸载后,解锁成功。解锁后记得重新安装卸载的那个网络服务 阅读全文
posted @ 2015-02-16 15:09 钊哥 阅读(209) 评论(0) 推荐(0) 编辑
  2013年3月31日
摘要: 关于如何嵌入字体,这里引用一篇译文Windows Phone 7 开发 31 日谈——第24日:嵌入字体我要提的是在XAML中: <TextBlock Text="12:02 AM" FontFamily="fonts/DigitalDream.ttf#Digital Dream" FontSize="60"/> #后面的名字需要留意,我们打开一个中文名称的字体,名字如下 图1当我设置FontFamily为FontFamily="fonts/文件名.ttf#上图看到的名称"运行后发现这样并不能奏效,于是 阅读全文
posted @ 2013-03-31 21:20 钊哥 阅读(248) 评论(0) 推荐(0) 编辑
  2013年3月23日
摘要: 首先,页面中放一个WebBrowser控件,页面加载完毕后进入OAuth授权页面void AuthorWindow_Loaded(object sender, RoutedEventArgs e) { Uri uri = new Uri("https://api.weibo.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=https://api.weibo.com/oauth2/default.html //这里redirect_uri以ht... 阅读全文
posted @ 2013-03-23 22:37 钊哥 阅读(1263) 评论(0) 推荐(0) 编辑
摘要: 本文纯属本人粗心所致人人SDK For Window PHone调用一键上传照片,按照官方提供的文档 private void btn_share_renren_Click(object sender, EventArgs e) { api = new RenrenAPI(AppID, AppKey, AppSecret); if (api.IsAccessTokenValid() == false) { api.Login(this, renren_LoginCo... 阅读全文
posted @ 2013-03-23 21:48 钊哥 阅读(585) 评论(4) 推荐(0) 编辑
  2012年11月21日
摘要: 前不久做了一个电子书阅读器,需要从服务器上下载epub格式的电子书,epub实际上就是zip,关于zip解压请看http://www.cnblogs.com/youhui/archive/2012/04/05/2433904.html进入正题:一开始直接使用GetDirectoryNames("folder\\") IsolatedStorageFile iso = IsolatedStorageFile.GetUserStoreForApplication(); if(iso.DirectoryExists("folder")) ... 阅读全文
posted @ 2012-11-21 21:13 钊哥 阅读(407) 评论(4) 推荐(0) 编辑