<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hellohaifei]]></title><description><![CDATA[积累知识，共同进步]]></description><link>https://blog.youkuaiyun.com/hellohaifei</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; hellohaifei]]></copyright><item><title><![CDATA[Android TextView show Html]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/52514933</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/52514933</guid><author>hellohaifei</author><pubDate>Mon, 12 Sep 2016 16:55:55 +0800</pubDate><description><![CDATA[HtmlTextViewAndroid use TextView show Html. Support  and custom 由于Android不支持 font 标签的 size 所以自定义span标签来实现Screenshot
  
java code    /**
     * span 标签 , 只识别了 font-size, color属性
     */
    String htmlS]]></description><category></category></item><item><title><![CDATA[常用地址链接]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/51579587</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/51579587</guid><author>hellohaifei</author><pubDate>Fri, 03 Jun 2016 15:58:24 +0800</pubDate><description><![CDATA[JAVA API英文：http://docs.oracle.com/javase/6/docs/api/ 
中文：http://dlc.sun.com.edgesuite.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html/zh_CN/api/index.html 
JSON 支持各种语言http://www.json.org]]></description><category></category></item><item><title><![CDATA[php基本语法]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/51516472</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/51516472</guid><author>hellohaifei</author><pubDate>Fri, 27 May 2016 18:31:47 +0800</pubDate><description><![CDATA[php 基本语法整理]]></description><category></category></item><item><title><![CDATA[android studio插件推荐]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/50724751</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/50724751</guid><author>hellohaifei</author><pubDate>Tue, 23 Feb 2016 17:49:01 +0800</pubDate><description><![CDATA[自动生成drawable selectors 资源  
https://github.com/inmite/android-selector-chapek根据JSONObject格式的字符串,自动生成实体类参数. 
https://github.com/zzz40500/GsonFormat自动生成Parcelable接口 序列化 
https://github.com/mcharmas/andro]]></description><category></category></item><item><title><![CDATA[Linux 命令实践]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/50385530</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/50385530</guid><author>hellohaifei</author><pubDate>Wed, 23 Dec 2015 18:17:36 +0800</pubDate><description><![CDATA[cat
cat file.txt   显示文件内容
cat hello1.txt > hello2.txt 用hello1.txt替换hello2.txt 的内容
cat hello1.txt >> hello2.txt  hello1.txt的内容追加到hello2.txt的后面
sort
sort hello.txt 排序后显示内容
cat lakes.txt | sort > sorted-l]]></description><category></category></item><item><title><![CDATA[JavaScript 文章备注]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/50345055</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/50345055</guid><author>hellohaifei</author><pubDate>Thu, 17 Dec 2015 17:56:28 +0800</pubDate><description><![CDATA[《JavaScript 权威指南》示例代码 http://examples.oreilly.com/9780596805531/]]></description><category></category></item><item><title><![CDATA[欢迎使用优快云-markdown编辑器]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/50345013</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/50345013</guid><author>hellohaifei</author><pubDate>Thu, 17 Dec 2015 17:53:33 +0800</pubDate><description><![CDATA[欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来，用它写博客，将会带来全新的体验哦：
Markdown和扩展Markdown简洁的语法
代码块高亮
图片链接和图片上传
LaTex数学公式
UML序列图和流程图
离线写博客
导入导出Markdown文件
丰富的快捷键
快捷键
加粗    Ctrl + B 
斜体    Ctrl + I 
引用    Ctrl]]></description><category></category></item><item><title><![CDATA[Android 图片压缩总结]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/48246531</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/48246531</guid><author>hellohaifei</author><pubDate>Sun, 06 Sep 2015 17:43:48 +0800</pubDate><description><![CDATA[一.图片缩放大概有3种方式

1.inSampleSize(采样率)

优点:效率较高,解析速度快

缺点:采样率inSampleSize的取值只能是2的次方数(例如:inSampleSize=15,实际取值为8;inSampleSize=17,实际取值为16;实际取值会往2的次方结算),因此该方法不能精确的指定图片的大小


2.Matrix

优点:可以精确地指定图片的缩放大小

缺点:是在原]]></description><category></category></item><item><title><![CDATA[Android 好的文章整理]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/45369557</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/45369557</guid><author>hellohaifei</author><pubDate>Wed, 29 Apr 2015 17:40:32 +0800</pubDate><description><![CDATA[Android 优化
Android性能优化典范 http://hukai.me/android-performance-patterns/]]></description><category></category></item><item><title><![CDATA[研究Android新闻类app webview中的图片点击]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/43532253</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/43532253</guid><author>hellohaifei</author><pubDate>Thu, 05 Feb 2015 19:11:36 +0800</pubDate><description><![CDATA[1.使用jsoup  Document document = Jsoup.connect(url).timeout(9000).get(); 来得到网页内容
2.用webView.loadDataWithBaseURL (null, data, "text/html", "utf-8",null);   data 是指网页内容，只包含 标签中的就可以
3.js和原生互调用
// 注入js函数]]></description><category></category></item><item><title><![CDATA[用Crul 命令 来调试服务器接口]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/41911987</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/41911987</guid><author>hellohaifei</author><pubDate>Sat, 13 Dec 2014 18:36:20 +0800</pubDate><description><![CDATA[Linux,mac 下执行

 curl -v -d ‘{"data":{},"uid":"1090549","ver":"1.0","token":"4a5nynjw8f2r7kfitdgwqrjhwrj5vcmqah0zsbnqgf5dpbm8drut840tmap5a2jb","seqnum":"G
MCAMERAARD10905491418465366126111715"} ’htt]]></description><category></category></item><item><title><![CDATA[正则表达式语法]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/39472381</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/39472381</guid><author>hellohaifei</author><pubDate>Mon, 22 Sep 2014 09:28:15 +0800</pubDate><description><![CDATA[正则表达式是一种文本模式，包括普通字符（例如，a 到 z 之间的字母）和特殊字符（称为“元字符”）。模式描述在搜索文本时要匹配的一个或多个字符串。

正则表达式示例







表达式

匹配




/^\s*$/



匹配空行。





/\d{2}-\d{5}/



验证由两位数字、一个连字符再加 5 位数字组成的 ID ]]></description><category></category></item><item><title><![CDATA[Android崩溃捕获]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/39031019</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/39031019</guid><author>hellohaifei</author><pubDate>Wed, 03 Sep 2014 18:41:16 +0800</pubDate><description><![CDATA[对于Android 异常退出，主要是用到了 接口Thread.UncaughtExceptionHandler




public class ErrorReport implements Thread.UncaughtExceptionHandler{
	public static final String TAG = "GouMinErrorReport";


	priv]]></description><category></category></item><item><title><![CDATA[Android内存优化]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/38582095</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/38582095</guid><author>hellohaifei</author><pubDate>Fri, 15 Aug 2014 13:03:24 +0800</pubDate><description><![CDATA[一 .查看当前应用占用的内存大小


方法一：设置--》应用--》正在运行--》显示缓存进程(右上角)。找到自己应用看一下占用大小


方法二：执行命令  adb shell dumpsys meminfo com.goumin.forum  
注：com.goumin.forum 是应用程序的包名

stackoverflow 有一篇讨论的帖子 http://stackover]]></description><category></category></item><item><title><![CDATA[用Gradle 构建你的android程序]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/38496179</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/38496179</guid><author>hellohaifei</author><pubDate>Mon, 11 Aug 2014 17:42:49 +0800</pubDate><description><![CDATA[用Gradle 构建你的android程序


前言
android gradle 的插件终于把混淆代码的task集成进去了，加上最近，android studio 用的是gradle 来构建项目， 下定决心把android gralde 构建项目的用户指南全部看完， 让不会用gradle 的人也用gradle构建android项目，让打包（注意，打包和构建是两码事）多版本android不]]></description><category></category></item><item><title><![CDATA[Android分享介绍]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/38367851</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/38367851</guid><author>hellohaifei</author><pubDate>Mon, 04 Aug 2014 13:16:45 +0800</pubDate><description><![CDATA[Android分享介绍]]></description><category></category></item><item><title><![CDATA[Android中自定义属性的使用]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/37531709</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/37531709</guid><author>hellohaifei</author><pubDate>Mon, 07 Jul 2014 20:01:06 +0800</pubDate><description><![CDATA[做Android布局是件很享受的事，这得益于他良好的xml方式。使用xml可以快速有效的为软件定义界面。可是有时候我们总感觉官方定义的一些基本组件不够用，自定义组件就不可避免了。那么如何才能做到像官方提供的那些组件一样用xml来定义他的属性呢？现在我们就来讨论一下他的用法。

一、在res/values文件下定义一个attrs.xml文件，代码如下：

 
 
     
     ]]></description><category></category></item><item><title><![CDATA[好的开源库总结]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/26820809</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/26820809</guid><author>hellohaifei</author><pubDate>Sat, 24 May 2014 12:05:04 +0800</pubDate><description><![CDATA[一.Android 开源库


1. Android 开源组件






  android ui Patterns --> http://www.androiduipatterns.com/http://www.androidpatterns.com/https://github.com/Trinea/android-open-projecthttp://android-a]]></description><category></category></item><item><title><![CDATA[在Eclipse+ADT中开发Android系统的内置应用]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/22289785</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/22289785</guid><author>hellohaifei</author><pubDate>Thu, 27 Mar 2014 15:03:17 +0800</pubDate><description><![CDATA[android 源码下载地址https://android.googlesource.com/
各个app是独立的
github上的源码地址 https://github.com/android
转自http://www.iteye.com/topic/1050439


Android系统内置有：Browser（浏览器）、Mms（彩信/短信）、Phone（电话）、Contacts（联]]></description><category></category></item><item><title><![CDATA[修改eclipse的注释模板]]></title><link>https://blog.youkuaiyun.com/hellohaifei/article/details/22073057</link><guid>https://blog.youkuaiyun.com/hellohaifei/article/details/22073057</guid><author>hellohaifei</author><pubDate>Tue, 25 Mar 2014 16:46:36 +0800</pubDate><description><![CDATA[修改@author的方法：(可以不用这种方法)
1. 在eclipse.ini中添加
-vmargs
-Duser.name={author name}
记得一定要在-vmargs之后，否则无效。重启eclipse


2直接设置eclipse参数
windows-->preference 
Java-->Code Style-->Code Templates 
code-->]]></description><category></category></item></channel></rss>