<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[springof的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/springof</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; springof]]></copyright><item><title><![CDATA[ADT中Eclipse使用的问题]]></title><link>https://blog.csdn.net/springof/article/details/84615025</link><guid>https://blog.csdn.net/springof/article/details/84615025</guid><author>springof</author><pubDate>Wed, 16 Jul 2014 08:39:45 +0800</pubDate><description><![CDATA[引子 “前几天更新了SDK，一直提示我要升级ADT，家里没有网络无法直接升级，于是下载了ADT”

问题1
离线更新ADT23.0.2不成功。网上查到有人说下载full adt就行了。下载之后，发现里面是eclipse和sdk的压缩包。我想我只是eclipse里没有ADT于是就把eclipse里面的配置拷贝到原来的eclipse下了。
也把sdk下的一切新的内容也拷贝进去了。
问题2
...]]></description><category></category></item><item><title><![CDATA[Windows phone Mac vmware ]]></title><link>https://blog.csdn.net/springof/article/details/84537746</link><guid>https://blog.csdn.net/springof/article/details/84537746</guid><author>springof</author><pubDate>Sun, 16 Mar 2014 20:50:08 +0800</pubDate><description><![CDATA[这几天又想玩玩Windows phone，上次玩已经是几年前的事了。可现在用的是MAC，也不想在上面安装Windows.
所以使用虚拟机安装了Windows 7，然后在上面玩，安装SDK什么的都很顺利。
可以一运行模拟器就出错了，模拟器一闪而过。

我记得之前有看到过这方面的文章于是搜索，终于找到了
http://blogs.endjin.com/2013/06/running-the-...]]></description><category></category></item><item><title><![CDATA[Android webview listview 判断到底]]></title><link>https://blog.csdn.net/springof/article/details/84531414</link><guid>https://blog.csdn.net/springof/article/details/84531414</guid><author>springof</author><pubDate>Wed, 26 Feb 2014 13:35:37 +0800</pubDate><description><![CDATA[判断webview滑动到了底部
@Override
protected void onScrollChanged(int l, int t, int oldl, int oldt) {
int height = (int) Math.floor(this.getContentHeight() * this.getScale());  
int webViewHeight = this.ge...]]></description><category></category></item><item><title><![CDATA[android 支付宝]]></title><link>https://blog.csdn.net/springof/article/details/84527450</link><guid>https://blog.csdn.net/springof/article/details/84527450</guid><author>springof</author><pubDate>Mon, 17 Feb 2014 17:25:30 +0800</pubDate><description><![CDATA[公司项目接入支付宝历来就有但是一直客户端签名现如今他们要使用服务器签名。其它他们遇到了一些问题，我也了解了一些。现在记录一下，首先：
支付宝流程如下
1. 自己会生成一个RSA密钥(公钥,私钥)私钥用于订单签名(开发者使用客户端或者服务器都可能,取决于签名信息由哪端生成)。公钥需要通过后台上传到支付宝，支付定会用来验证订单的合法性。生成方式为：
a.生成密钥
openssl genrsa ...]]></description><category></category></item><item><title><![CDATA[Android Ant 编译]]></title><link>https://blog.csdn.net/springof/article/details/84490327</link><guid>https://blog.csdn.net/springof/article/details/84490327</guid><author>springof</author><pubDate>Fri, 18 Oct 2013 19:41:27 +0800</pubDate><description><![CDATA[这里只是过程中遇到的问题。
1. 生成 xml.
 android update project -p . 这里.为目录(当前目录，所以需要cd到工程的根目录)
2. export build.xml.
 File -&gt; Export -&gt; General -&gt; Ant Buildfiles and choose required project to create a build fil...]]></description><category></category></item><item><title><![CDATA[Layout_width width 区别一例]]></title><link>https://blog.csdn.net/springof/article/details/84487436</link><guid>https://blog.csdn.net/springof/article/details/84487436</guid><author>springof</author><pubDate>Fri, 11 Oct 2013 00:43:32 +0800</pubDate><description><![CDATA[ 因为项目需要在我最新一个项目中用到了动态改变控件大小及位置等。
 但刚刚突然发现有一个控件长度没有改变。 在仔细检查代码的时候发现原来使用的是 android:width 而非一直使用的layout_width (因使用了style故编译通过)。
 在网络查看用发现width是可以指定具体数值，但layout_width其实也是可以的。
 个人认为区别在：
  1. layout_wid...]]></description><category></category></item><item><title><![CDATA[Android MQTT 实现Push]]></title><link>https://blog.csdn.net/springof/article/details/84480150</link><guid>https://blog.csdn.net/springof/article/details/84480150</guid><author>springof</author><pubDate>Mon, 16 Sep 2013 15:46:04 +0800</pubDate><description><![CDATA[[b][size=small]首先这个在网络上已经有很多示例了，这里我只是写下自己的流程和需要的问题。[/size][/b]

[size=large]代码工具部分：[/size]
1. 客户端代码(java)： 
下载自：https://github.com/tokudu/AndroidPushNotificationsDemo 
2. 服务器端代码(php)：
下载自：https:...]]></description><category></category></item><item><title><![CDATA[ViewPager实现一个页面多个Item的显示]]></title><link>https://blog.csdn.net/springof/article/details/84479097</link><guid>https://blog.csdn.net/springof/article/details/84479097</guid><author>springof</author><pubDate>Thu, 12 Sep 2013 18:37:05 +0800</pubDate><description><![CDATA[代码在：
https://code.google.com/p/trinea-android-demo/source/browse/trunk/src/cn/trinea/android/demo/ViewPagerMulTiFragmentDemo.java


实现要注意的是：
1. ViewPager在上层布局中加入
    [code=&quot;java&quot;]  android:clipC...]]></description><category></category></item><item><title><![CDATA[关于ListView不刷新 (notifydatasetchanged无效的问题)]]></title><link>https://blog.csdn.net/springof/article/details/84462212</link><guid>https://blog.csdn.net/springof/article/details/84462212</guid><author>springof</author><pubDate>Wed, 24 Jul 2013 18:59:18 +0800</pubDate><description><![CDATA[是的，我在被困几个小时后发现了原因，各种调试未果。

然后还是决定在网上查：
查到了：
listview中adapter的数据是放在 list里的。当刷新数据时，去服务器请求到新数据,然后
传给list。代码是在新线程里得到新数据集合list2，然后在handler里令list=list2,以为这样就可以了，
但adapter.notifyDataSetChanged无效。
原因：l...]]></description><category></category></item><item><title><![CDATA[android activity-alias 做多入口程序(多个launch icon)]]></title><link>https://blog.csdn.net/springof/article/details/84440330</link><guid>https://blog.csdn.net/springof/article/details/84440330</guid><author>springof</author><pubDate>Fri, 07 Jun 2013 16:00:59 +0800</pubDate><description><![CDATA[代码
[code=&quot;xml&quot;]
            
                

                
                
                
            
        

        
            
                

                
      ...]]></description><category></category></item><item><title><![CDATA[与Bosh相关的一些文章]]></title><link>https://blog.csdn.net/springof/article/details/84424016</link><guid>https://blog.csdn.net/springof/article/details/84424016</guid><author>springof</author><pubDate>Sat, 27 Apr 2013 10:11:44 +0800</pubDate><description><![CDATA[1. [url]http://shallon.iteye.com/blog/126428[/url]
针对Bosh作了很通俗的讲解
2. [url]http://www.jabbercn.org/XEP-0124[/url]
xmpp的文档有Bosh的详细介绍
3. [url]http://www.ibm.com/developerworks/cn/web/wa-lo-comet/[/ur...]]></description><category></category></item><item><title><![CDATA[Android Activity的4种TaskMode]]></title><link>https://blog.csdn.net/springof/article/details/84232403</link><guid>https://blog.csdn.net/springof/article/details/84232403</guid><author>springof</author><pubDate>Mon, 11 Jun 2012 16:05:09 +0800</pubDate><description><![CDATA[只是自己看。
1. 标准
2. SingleTop
3. SingleTask
4. SingleInstance

1. 
不用说，标准方式，只有一个Task 启动一个activity则会放一个activity到Task(个人理解为栈)中
即使是启动同样的activity也会一直放入堆栈中。当用户返回时则一个activity一个的退回。
2. SingleTop. 
同标准模...]]></description><category></category></item><item><title><![CDATA[android Listview中button 和Listview可同时点击的方法]]></title><link>https://blog.csdn.net/springof/article/details/83979904</link><guid>https://blog.csdn.net/springof/article/details/83979904</guid><author>springof</author><pubDate>Tue, 02 Aug 2011 14:45:27 +0800</pubDate><description><![CDATA[首先我们的Listview如果是自定义的一般会有一个布局文件xxx.xml

在这个xml中第一个元素一般是LinearLayout或RelativeLayout
中加上
android:descendantFocusability=&quot;blocksDescendants&quot;

然后其中的ImageButton,或Button我们为其设置
android:clickable=&quot;true&quot;...]]></description><category></category></item><item><title><![CDATA[关闭软键盘]]></title><link>https://blog.csdn.net/springof/article/details/83971534</link><guid>https://blog.csdn.net/springof/article/details/83971534</guid><author>springof</author><pubDate>Fri, 15 Jul 2011 15:42:07 +0800</pubDate><description><![CDATA[关于关闭软键盘，网上一搜一大堆。但是都是不要软键盘自动弹出的解决方法。

真正的关闭网络其实是：

InputMethodManager imm = (InputMethodManager)mContext.getSystemService(Context.INPUT_METHOD_SERVICE); 

            imm.hideSoftInputFromWindow(...]]></description><category></category></item><item><title><![CDATA[eclipse3.6.2 安装 ADT 问题]]></title><link>https://blog.csdn.net/springof/article/details/83937380</link><guid>https://blog.csdn.net/springof/article/details/83937380</guid><author>springof</author><pubDate>Fri, 27 May 2011 23:07:49 +0800</pubDate><description><![CDATA[关于配置ADT的问题,这个在网上有很有介绍,很多版本在配置ADT的时候都有可能会出问题,之前有遇到很多次,公司的有SOP eclipse和JDK以及ADT版本都是固定的，没有问题.
今天又一次配置ADT,IDE版本:eclipse-SDK-3.6.2-win32.
首先,有0.9的ADT下载包, help-&gt; install new software -&gt; ac... -&gt; OK
安装失败,...]]></description><category></category></item><item><title><![CDATA[Android 开发过程网络相关问题]]></title><link>https://blog.csdn.net/springof/article/details/83935839</link><guid>https://blog.csdn.net/springof/article/details/83935839</guid><author>springof</author><pubDate>Wed, 25 May 2011 18:03:48 +0800</pubDate><description><![CDATA[1.发送request.
a. post:
生成请求
[code=&quot;java&quot;]HttpPost request = new HttpPost(url);
HttpClient httpClient = new DefaultHttpClient();[/code]
设置30s连接不上则失败
[code=&quot;java&quot;]httpClient.getConnectionManager()....]]></description><category></category></item><item><title><![CDATA[Manifest中Activity的一些配置]]></title><link>https://blog.csdn.net/springof/article/details/83935803</link><guid>https://blog.csdn.net/springof/article/details/83935803</guid><author>springof</author><pubDate>Wed, 25 May 2011 17:27:04 +0800</pubDate><description><![CDATA[1. android:configChanges=&quot;orientation&quot;一般常用的configChanges还有keyboardHidden
这里加orientation的用途在于避免转屏时重新调用onCreate,其实这里还有其它的叙用，
某些Dialog，在转屏时选中的项会被取消，加上android:configChange=&quot;orientation&quot;用变不会再有这样的问题。

2...]]></description><category></category></item><item><title><![CDATA[数据库中实现监听]]></title><link>https://blog.csdn.net/springof/article/details/83907327</link><guid>https://blog.csdn.net/springof/article/details/83907327</guid><author>springof</author><pubDate>Tue, 19 Apr 2011 17:14:41 +0800</pubDate><description><![CDATA[1. 先看使用的代码： 
下面是我们在做未接来电时的代码: 
mResolver.registerContentObserver(CallLog.Calls.CONTENT_URI, true, 
                missedCallObserver) 
这个CallLog.Calls.CONTENT_URI是在数据库中提供支持的。 
而missedCallObserve...]]></description><category></category></item></channel></rss>