<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[spinaches的专栏]]></title><description><![CDATA[爱你在心口难开]]></description><link>https://blog.csdn.net/spinaches</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; spinaches]]></copyright><item><title><![CDATA[R.layout.main cannot be resolved]]></title><link>https://blog.csdn.net/spinaches/article/details/8957692</link><guid>https://blog.csdn.net/spinaches/article/details/8957692</guid><author>spinaches</author><pubDate>Tue, 21 May 2013 21:59:45 +0800</pubDate><description><![CDATA[R.layout.main cannot be resolved




刚写了一行就出了这么个错误，让我很郁闷。。
找了大半天，最后才发现
在最开始 ，不知道什么时候
import android.R;



解决方案：
删除第三行的“import android.R” 注：我不知道是什么时候加进来的。


原因分析：
删除“import andorid R”之]]></description><category></category></item><item><title><![CDATA[数据类型和Json格式]]></title><link>https://blog.csdn.net/spinaches/article/details/8798617</link><guid>https://blog.csdn.net/spinaches/article/details/8798617</guid><author>spinaches</author><pubDate>Sat, 13 Apr 2013 23:44:03 +0800</pubDate><description><![CDATA[作者： 阮一峰
日期： 2009年5月30日


1.
前几天，我才知道有一种简化的数据交换格式，叫做yaml。
我翻了一遍它的文档，看懂的地方不多，但是有一句话令我茅塞顿开。
它说，从结构上看，所有的数据（data）最终都可以分解成三种类型：


第一种类型是标量（scalar），也就是一个单独的字符串（string）或数字（numbers），比如"北京"这个单独的词。
第]]></description><category></category></item><item><title><![CDATA[一个Java debug的例子]]></title><link>https://blog.csdn.net/spinaches/article/details/8797186</link><guid>https://blog.csdn.net/spinaches/article/details/8797186</guid><author>spinaches</author><pubDate>Sat, 13 Apr 2013 16:20:49 +0800</pubDate><description><![CDATA[之前在写xml解析的demo的时候遇到一个编译error。
由于用SAX解析mxl的时候须有继承DefaultHandler，并实现它的一些API，code如下
  package com.example.xmlparsedemo;

import java.util.ArrayList;
import java.util.List;
import java.util.jar.Attribut]]></description><category></category></item><item><title><![CDATA[Android 使用SAX读取XML文件]]></title><link>https://blog.csdn.net/spinaches/article/details/8797087</link><guid>https://blog.csdn.net/spinaches/article/details/8797087</guid><author>spinaches</author><pubDate>Sat, 13 Apr 2013 15:49:02 +0800</pubDate><description><![CDATA[SAX是一个解析速度快并且占用内存少的xml解析器，非常适合用于Android等移动设备。关于它的详细介绍请参考http://www.saxproject.org/


 SAX解析XML文件采用的是事件驱动，也就是说，它并不需要解析完整个文档，在按内容顺序解析文档的过程中，SAX会判断当前读到的字符是否合法XML语法中的某部分，如果符合就会触发事件。所谓事件，其实就是一些回调（callba]]></description><category></category></item><item><title><![CDATA[Android异步处理一：使用Thread+Handler实现非UI线程更新UI界面]]></title><link>https://blog.csdn.net/spinaches/article/details/8775427</link><guid>https://blog.csdn.net/spinaches/article/details/8775427</guid><author>spinaches</author><pubDate>Mon, 08 Apr 2013 23:54:25 +0800</pubDate><description><![CDATA[本博文地址：http://blog.csdn.net/mylzc/article/details/6736988 转载请注明出处
概述：每个Android应用程序都运行在一个dalvik虚拟机进程中，进程开始的时候会启动一个主线程(MainThread)，主线程负责处理和ui相关的事件，因此主线程通常又叫UI线程。而由于Android采用UI单线程模型，所以只能在主线程中对UI元素进行操作。如果]]></description><category></category></item><item><title><![CDATA[Update my blog]]></title><link>https://blog.csdn.net/spinaches/article/details/8775181</link><guid>https://blog.csdn.net/spinaches/article/details/8775181</guid><author>spinaches</author><pubDate>Mon, 08 Apr 2013 22:48:15 +0800</pubDate><description><![CDATA[I haven‘t  updated my blog for a long time.
There is a lot reason, but i admit , the root cause is my  laziness!
It is not a good behavior., so i want to make some change. 
reopen my blog and give]]></description><category></category></item><item><title><![CDATA[subversion 服务器配置]]></title><link>https://blog.csdn.net/spinaches/article/details/6413630</link><guid>https://blog.csdn.net/spinaches/article/details/6413630</guid><author>spinaches</author><pubDate>Thu, 12 May 2011 09:28:00 +0800</pubDate><description><![CDATA[<br /><br />以前都是用的别人配置的svn服务器，现在没人给配了，之得自己动手。<br />于是查了下资料。按下面的方法配置以下，OK了。保留之。<br />以下资料转自。<br />http://www.subversion.org.cn/?action-viewnews-itemid-76<br />##########################################################################<br /> <br />如何快速建立Subve]]></description><category></category></item><item><title><![CDATA[一些MFC绘图相关]]></title><link>https://blog.csdn.net/spinaches/article/details/5995036</link><guid>https://blog.csdn.net/spinaches/article/details/5995036</guid><author>spinaches</author><pubDate>Mon, 08 Nov 2010 12:31:00 +0800</pubDate><description><![CDATA[<br />最近项目需要用到MFC绘图，生成一个动态绘图的界面。所以查询了下。<br />MFC绘图，首先要用到一个CDC类，所有的绘图操作都封装在了这个类中，下面是MSDN中对此类的描述。<br /> <br />The CDC object provides member functions for working with a device context, such as a display or printer, as well as members for working with a disp]]></description><category></category></item><item><title><![CDATA[OnCancel()  AND OnOK()]]></title><link>https://blog.csdn.net/spinaches/article/details/5734952</link><guid>https://blog.csdn.net/spinaches/article/details/5734952</guid><author>spinaches</author><pubDate>Wed, 14 Jul 2010 17:08:00 +0800</pubDate><description><![CDATA[<br />OnOK()<br /> <br />//更新数据然后关闭对话框。<br /><br />void   CDialog::OnOK()<br />{<br />if   (!UpdateData(TRUE))<br />{<br />TRACE0( "UpdateData   failed   during   dialog   termination./n ");<br />//   the   UpdateData   routine   will   set   focus   to   ]]></description><category></category></item><item><title><![CDATA[vc下用ado方式访问sql server /ACCESS]]></title><link>https://blog.csdn.net/spinaches/article/details/5728359</link><guid>https://blog.csdn.net/spinaches/article/details/5728359</guid><author>spinaches</author><pubDate>Mon, 12 Jul 2010 10:46:00 +0800</pubDate><description><![CDATA[我介绍一下在vc下用ado方式访问sql server的例子【1】COM库的初始化我们可以使用AfxOleInit()来初始化COM库，这项工作通常在CWinApp::InitInstance()的重载函数中完成，请看如下代码:BOOL CADOTest1App::InitInstance()  {  AfxOleInit();  ...... 【2】用#import指令引入ADO类型库我们在stdafx.h中加入如下语句：(stdafx.h这个文件哪里可以找到?你可以在FileView中的Header F]]></description><category></category></item><item><title><![CDATA[ADO连接ACCESS 无法写入]]></title><link>https://blog.csdn.net/spinaches/article/details/5728349</link><guid>https://blog.csdn.net/spinaches/article/details/5728349</guid><author>spinaches</author><pubDate>Mon, 12 Jul 2010 10:41:00 +0800</pubDate><description><![CDATA[<br />上周四开始到现在一直被这个问题困扰。<br />想往假日信息表里插入一行数据，写的是<br />sSql="insert into holiday (id,name,start,end,notice) VALUES(20, '春' ,  2 ,  4,  '五' )";<br />无论如何也不行。改变权限，更换数据库。郁闷的整了三天。同样的sql语句放access里面就完全可以执行。真无语，无奈，加郁闷不行。<br />额，今天过来继续改代码。无意中网上看到有个哥们用C#写access数据库，说]]></description><category></category></item><item><title><![CDATA[使CListCtrl可编辑 ]]></title><link>https://blog.csdn.net/spinaches/article/details/5709590</link><guid>https://blog.csdn.net/spinaches/article/details/5709590</guid><author>spinaches</author><pubDate>Fri, 02 Jul 2010 16:29:00 +0800</pubDate><description><![CDATA[<br />CListCtrl 是一个经常使用的控件，通常用来显示数据库的内容。但是，CListCtrl并不好用。我们当然希望CListCtrl能像Excel那样好用，因此，得在原来的基础上进行改进。<br />一、使CListCtrl能够编辑子项<br />1、在对话框中添加一个CListCtrl控件，并添加CListCtrl类型的变量m_list。<br />2、初始化控件<br />设置控件风格（照抄网上的）<br />LONG lStyle;<br />lStyle = GetWindowLong(]]></description><category></category></item><item><title><![CDATA[OnContextMenu VS OnRButtonDown ]]></title><link>https://blog.csdn.net/spinaches/article/details/5709529</link><guid>https://blog.csdn.net/spinaches/article/details/5709529</guid><author>spinaches</author><pubDate>Fri, 02 Jul 2010 16:12:00 +0800</pubDate><description><![CDATA[<br />楼主zary_linux（诚实、信用）2006-11-14 18:52:56 在 VC/MFC / 界面 提问<br />单独用OnContextMenu   可以弹出菜单。   <br />  但加上OnRButtonDown：如果OnRButtonDown里只用一个TextOut输出文字的话   <br />  OnContextMenu可以弹出菜单。   <br />  如果OnRButtonDown里用一个Message输出文字的话OnContextMenu就没用了。   <br /> ]]></description><category></category></item><item><title><![CDATA[CSocket中 send 与onsend()区别]]></title><link>https://blog.csdn.net/spinaches/article/details/5641309</link><guid>https://blog.csdn.net/spinaches/article/details/5641309</guid><author>spinaches</author><pubDate>Wed, 02 Jun 2010 09:35:00 +0800</pubDate><description><![CDATA[<br />onreceive()和onsend()是网络消息映射函数,类似ON_COMMAND菜单消息映射. <br />recceive()和send()是网络数据传输实体函数.在上述两个函数中使用.<br />一般来说send()和receive()是你自己调用的，onreceive()和onsend()是由框架程序调用的<br /> <br />比方说你在套接口连接成功之后写下<br />   if( tempSock.m_bConnected)<br />          tempSock.As]]></description><category></category></item><item><title><![CDATA[UpdateData()函数]]></title><link>https://blog.csdn.net/spinaches/article/details/5638764</link><guid>https://blog.csdn.net/spinaches/article/details/5638764</guid><author>spinaches</author><pubDate>Tue, 01 Jun 2010 10:43:00 +0800</pubDate><description><![CDATA[一、总结UpdateData()函数UpdateData(true);//用于将屏幕上控件中的数据交换到变量中。UpdateData(false);//用于将数据在屏幕中对应控件中显示出来。       当你使用了ClassWizard建立了控件和变量之间的联系后：当你修改了变量的值，而希望对话框控件更新显示，就应该在修改变量后调用UpdateData(FALSE)；如果你希望知道用户在对话框中到底输入了什么，就应该在访问变量前调用UpdateData(TRUE)。  二、关于编辑框的赋值和取值向编辑框中赋]]></description><category></category></item><item><title><![CDATA[matlab 引擎实现混合编程问题。]]></title><link>https://blog.csdn.net/spinaches/article/details/5603608</link><guid>https://blog.csdn.net/spinaches/article/details/5603608</guid><author>spinaches</author><pubDate>Tue, 18 May 2010 12:19:00 +0800</pubDate><description><![CDATA[matlab 引擎实现混合编程网上给的非常多的是这个例子。这个例子很老了，而且里面有很多函数都过时了，matlab6.1 以后又增加了一些函数。所以到从昨晚搞到现在，最后也没能运行。抱歉了向东，项目那边比较紧，实在不能再在这里耗着了，这事只能先给你放这里了。哎。可见混合编程这边使用的人数也不是那么多。 ----------------------------------------]]></description><category></category></item><item><title><![CDATA[VC6.0升级至VS2005 引发的一些问题]]></title><link>https://blog.csdn.net/spinaches/article/details/5599717</link><guid>https://blog.csdn.net/spinaches/article/details/5599717</guid><author>spinaches</author><pubDate>Mon, 17 May 2010 10:56:00 +0800</pubDate><description><![CDATA[最近开发平台由VC6.0升级至VS2005，需要将原有的项目迁移，特将碰到的问题归纳如下：１消息映射VS2005对消息的检查更为严格，以前在VC6下完全正常运行的消息映射在VS2005下编译不通过a. ON_MESSAGE(message,OnMyMessage);   OnMyMessage返回值必须为LRESULT，其形式为：afx_msg LRESULT OnMyMessage(WPAR]]></description><category></category></item><item><title><![CDATA[winsock 代码调试小结]]></title><link>https://blog.csdn.net/spinaches/article/details/5593744</link><guid>https://blog.csdn.net/spinaches/article/details/5593744</guid><author>spinaches</author><pubDate>Fri, 14 May 2010 22:59:00 +0800</pubDate><description><![CDATA[今晚把上次没调通的程序又调了一晚，终于搞定了。小结一下。本程序使用vc的MFC类库提供的CAsyncSocket类进行网络程序设计。在使用它进行开发时，需要再项目中引用以下三个文件。winsock.dll  ，它是windows API 的动态链接库。放在windows安装目录下的system子目录里，我的系统上就没有，需要网上下。winsock.h 它是winsockAPI ]]></description><category></category></item><item><title><![CDATA[工作汇报]]></title><link>https://blog.csdn.net/spinaches/article/details/5468908</link><guid>https://blog.csdn.net/spinaches/article/details/5468908</guid><author>spinaches</author><pubDate>Fri, 09 Apr 2010 22:42:00 +0800</pubDate><description><![CDATA[     今天boss临走前，吩咐了实验室的各位写个最近工作报告，周一聊下。实际上就是最近忙什么了，汇报下。     其实每天觉得效率都不怎么高，开学四五个星期了，虽然整天耗在实验室，不过常常是一整天下来，貌似也没做什么。可能是因为硬件接口这一块确实也没有什么捷径，必须动手摸索，常常被某些莫名奇妙的问题耽搁好久。好比实验室那些全坏了的RS232数据线，*小概率事件居然发生了，可真是让人lo]]></description><category></category></item><item><title><![CDATA[Conference & journal  in  DATA BASE ]]></title><link>https://blog.csdn.net/spinaches/article/details/5460062</link><guid>https://blog.csdn.net/spinaches/article/details/5460062</guid><author>spinaches</author><pubDate>Wed, 07 Apr 2010 22:34:00 +0800</pubDate><description><![CDATA[为了忙活database 的presentation，开始查找数据方面的论文。老师给了一些会议跟期刊。做为一个科研者，首先必须了解你的领域里的Top Conference and Journal，还有那些大牛。下面先说下这些顶级的会议跟期刊。首先说老师介绍的Top conference：SIGMOD---Special Internet Group Management of Da]]></description><category></category></item></channel></rss>