<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[techgfuture的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/techgfuture</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; techgfuture]]></copyright><item><title><![CDATA[fastboot devices 找不到设备]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/43113759</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/43113759</guid><author>techgfuture</author><pubDate>Sun, 25 Jan 2015 13:17:12 +0800</pubDate><description><![CDATA[搞了半天，原来如此：
手机必须是bootloader状态，fastboot devices才能有所反应；
所以先使用 adb reboot bootloader 进入bootloader状态

然后如果fastboot devices还是没有所反应，参看：
http://blog.youkuaiyun.com/dlmu2001/article/details/6593143]]></description><category></category></item><item><title><![CDATA[Linux grep]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/42780283</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/42780283</guid><author>techgfuture</author><pubDate>Fri, 16 Jan 2015 18:20:46 +0800</pubDate><description><![CDATA[from：http://www.cnblogs.com/end/archive/2012/02/21/2360965.html

linux grep命令


1.作用
Linux系统中grep命令是一种强大的文本搜索工具，它能使用正则表达式搜索文本，并把匹 配的行打印出来。grep全称是Global Regular Expression Print，表示全局正则表达式版本，它的使用权]]></description><category></category></item><item><title><![CDATA[java static块]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/42143081</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/42143081</guid><author>techgfuture</author><pubDate>Thu, 25 Dec 2014 10:30:54 +0800</pubDate><description><![CDATA[From：http://dylanxu.iteye.com/blog/1319275

java中经常有一些静态块，这是用来在生成类之前进行的初始化，无论java还C++语言中的static，都是最先初始化好的。结构如下：

static {

静态语句代码块

}




{

非静态语句代码块

}

异同点

相同点：都是在JVM加载类时且在构造方法]]></description><category></category></item><item><title><![CDATA[android qcom Setting 语言列表]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/42029339</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/42029339</guid><author>techgfuture</author><pubDate>Fri, 19 Dec 2014 16:33:29 +0800</pubDate><description><![CDATA[前提，语言已经支持，但Setting中语言列表中不显示：
在device/qcom/common/common.mk 中
PRODUCT_LOCALES := en_US en_GB es_ES es_US fr_FR zh_CN zh_TW 行
添加要支持的语言]]></description><category></category></item><item><title><![CDATA[Android中消息系统模型和Handler Looper]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/41414125</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/41414125</guid><author>techgfuture</author><pubDate>Sun, 23 Nov 2014 19:15:26 +0800</pubDate><description><![CDATA[Android中消息系统模型和Handler Looper
　　作为Android中大量使用的Handler，结合Thread使其具有众多的使用形式和方法，
让我一时感觉这个东西有些玄乎，不明所以然，这到底是一个什么样的存在呢？通过网上
资料和源码的学习，这个Handler也差不多弄清楚了，现在总结下这个学习结果。
 
一 Handler作用和概念
通过官方文档了解到Handler的大]]></description><category></category></item><item><title><![CDATA[android  ccache 编译 加速]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/41205873</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/41205873</guid><author>techgfuture</author><pubDate>Mon, 17 Nov 2014 10:52:18 +0800</pubDate><description><![CDATA[启用ccache加速编译android源代码
点击量:2759次 
作者:cofface2013.05.27
当你删掉out/target目录或者使用make clean清空输出重新编译源码的时候，编译时间通常都很漫长。

其实这个问题很容易解决，Android官方为我们带来了解决方案–ccache编译器缓存。
官方这么讲：
You can optionally tell the b]]></description><category></category></item><item><title><![CDATA[linux shell 字符串操作（长度　查找　删除　替换）详解]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/41010379</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/41010379</guid><author>techgfuture</author><pubDate>Tue, 11 Nov 2014 13:32:00 +0800</pubDate><description><![CDATA[c



在做shell批处理程序时候，经常会涉及到字符串相关操作。有很多命令语句，如：awk,sed都可以做字符串各种操作。 其实shell内置一系列操作符号，可以达到类似效果，大家知道，使用内部操作符会省略启动外部程序等时间，因此速度会非常的快。

 
一、判断读取字符串值





表达式
含义




${var}
变量var的值, 与$var相同]]></description><category></category></item><item><title><![CDATA[android 实例]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/40870403</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/40870403</guid><author>techgfuture</author><pubDate>Thu, 06 Nov 2014 22:42:52 +0800</pubDate><description><![CDATA[http://bbs.youkuaiyun.com/topics/390254839?page=1]]></description><category></category></item><item><title><![CDATA[android Binder 进程间通信]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/40423501</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/40423501</guid><author>techgfuture</author><pubDate>Fri, 24 Oct 2014 10:25:14 +0800</pubDate><description><![CDATA[from:

Android深入浅出之Binder机制


Android深入浅出之Binder机制
一说明
 Android系统最常见也是初学者最难搞明白的就是Binder了，很多很多的Service就是通过Binder机制来和客户端通讯交互的。所以搞明白Binder的话，在很大程度上就能理解程序运行的流程。
我们这里将以MediaService的例子来分析Binder的使用：]]></description><category></category></item><item><title><![CDATA[Android.mk]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/40046521</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/40046521</guid><author>techgfuture</author><pubDate>Mon, 13 Oct 2014 15:44:45 +0800</pubDate><description><![CDATA[一、编译一个简单的APK 

  LOCAL_PATH := $(call my-dir)

  include $(CLEAR_VARS)

  # Build all java files in the java subdirectory

  LOCAL_SRC_FILES := $(call all-subdir-java-files)

  # Name of the]]></description><category></category></item><item><title><![CDATA[eclipse 背景色 推荐]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39925423</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39925423</guid><author>techgfuture</author><pubDate>Thu, 09 Oct 2014 09:51:30 +0800</pubDate><description><![CDATA[改变背景颜色：windows->Preferences->General->Editor->Text Editors
右边选择Appearance color options 
选Background color 选择背景颜色]]></description><category></category></item><item><title><![CDATA[Android的Looper和Handler消息处理机制详解]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39701909</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39701909</guid><author>techgfuture</author><pubDate>Tue, 30 Sep 2014 23:16:58 +0800</pubDate><description><![CDATA[Message：消息，其中包含了消息ID，消息处理对象以及处理的数据等，由MessageQueue统一列队，终由Handler处理。
Handler：处理者，负责Message的发送及处理。使用Handler时，需要实现handleMessage(Message msg)方法来对特定的Message进行处理，例如更新UI等。
MessageQueue：消息队列，用来存放Handler发送过来的消息]]></description><category></category></item><item><title><![CDATA[5款备受关注的开源NoSQL数据库]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39699919</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39699919</guid><author>techgfuture</author><pubDate>Tue, 30 Sep 2014 21:13:22 +0800</pubDate><description><![CDATA[本文向您推荐5款备受关注的开源NoSQL数据库。



1. 集中式缓存系统 memcached



memcached是一套分布式的快取系统，当初是Danga Interactive为了LiveJournal所发展的，但目前被许多软件（如MediaWiki）所使用。这是一套开放源代码软件，以BSD license授权释出。

memcached缺乏认证以及安全管制，这代表应]]></description><category></category></item><item><title><![CDATA[java volatile]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39648545</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39648545</guid><author>techgfuture</author><pubDate>Sun, 28 Sep 2014 23:03:57 +0800</pubDate><description><![CDATA[在java线程并发处理中，有一个关键字volatile的使用目前存在很大的混淆，以为使用这个关键字，在进行多线程并发处理的时候就可以万事大吉。

Java语言是支持多线程的，为了解决线程并发的问题，在语言内部引入了 同步块 和 volatile 关键字机制。

 

synchronized 

同步块大家都比较熟悉，通过 synchronized 关键字来实现，所有加上synch]]></description><category></category></item><item><title><![CDATA[listview 滚动翻页]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39614901</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39614901</guid><author>techgfuture</author><pubDate>Sat, 27 Sep 2014 19:47:16 +0800</pubDate><description><![CDATA[http://www.cnblogs.com/mxh691/archive/2012/06/06/2537780.html]]></description><category></category></item><item><title><![CDATA[android SystemClock PowerManager]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39546643</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39546643</guid><author>techgfuture</author><pubDate>Thu, 25 Sep 2014 10:06:08 +0800</pubDate><description><![CDATA[Android.os.SystemClock
文档中对System.currentTimeMillis()进行了相应的描述，就是说它不适合用在需要时间间隔的地方，如Thread.sleep, Object.wait等，因为可以通过System.setCurrentTimeMillis来改变它的值。

要用时间间隔，推荐使用SystemClock中的相关方法。


Java代码  
]]></description><category></category></item><item><title><![CDATA[php xml 转换数组]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39474285</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39474285</guid><author>techgfuture</author><pubDate>Mon, 22 Sep 2014 11:32:55 +0800</pubDate><description><![CDATA[public static function xmlStr2Array($str)
    {
        $result = null;
        if(is_string($str)) {
            try {
                $xml = simplexml_load_string($str);
                $resul]]></description><category></category></item><item><title><![CDATA[Java 内部类]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39232399</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39232399</guid><author>techgfuture</author><pubDate>Fri, 12 Sep 2014 17:06:25 +0800</pubDate><description><![CDATA[http://blog.youkuaiyun.com/codestinity/article/details/6877788
在非静态内部类中不可以声明静态成员，一般的非静态内部类，可以随意的访问外部类中的成员变量与成员方法。即使这些成员方法被修饰为private(私有的成员变量或者方法)，其非静态内部类都可以随意的访问,这是非静态内部类的特权。不能够从静态内部类的对象中访问外部类的非静态成员(包括成员变量]]></description><category></category></item><item><title><![CDATA[js 计算 字符串 字节数]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39232331</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39232331</guid><author>techgfuture</author><pubDate>Fri, 12 Sep 2014 17:01:44 +0800</pubDate><description><![CDATA[function (str) {
        var length = 0;
        if (!!str && "string" == typeof str) {
            for (var i = 0; i 
                if (str.charCodeAt(i) > 255) {
                    length +=]]></description><category></category></item><item><title><![CDATA[js 计算 字符 宽度]]></title><link>https://blog.youkuaiyun.com/techgfuture/article/details/39232359</link><guid>https://blog.youkuaiyun.com/techgfuture/article/details/39232359</guid><author>techgfuture</author><pubDate>Fri, 12 Sep 2014 17:01:09 +0800</pubDate><description><![CDATA[#computeFontWidth {
    visibility: hidden;
    white-space: nowrap;
}
／＊＊
    ＊ e 显示字符控件
    ＊ text 要显示的字符串
    ＊sumWidth e的宽度
    ＊／

function (e, text, sumWidth) {
        if (2 == argum]]></description><category></category></item></channel></rss>