http://android.yaohuiji.com/archives/3247 总结得不错... 转载于:https://www.cnblogs.com/xuxu8511/archive/2012/05/14/2499007.html