<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[jwllls的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/jwllls</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; jwllls]]></copyright><item><title><![CDATA[Java多线程]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/78781261</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/78781261</guid><author>jwllls</author><pubDate>Tue, 12 Dec 2017 13:51:25 +0800</pubDate><description><![CDATA[线程的生命周期线程的生命周期分为五个状态 ：1. 新建 2. 就绪 3. 运行 4. 死亡 5. 阻塞]]></description><category></category></item><item><title><![CDATA[Android 与 H5 之间的互调]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/78750182</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/78750182</guid><author>jwllls</author><pubDate>Fri, 08 Dec 2017 12:03:23 +0800</pubDate><description><![CDATA[在APP的开发中嵌入了H5页面，这样就可以在Android和iOS系统上跑，大大节约了成本。因此作为移动端开发者，一定要学会使用手机系统与H5页面的互调，下面介绍一下Android与H5的互调，关于其具体使用会在代码中说明。]]></description><category></category></item><item><title><![CDATA[Dagger2的了解与使用]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/78710464</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/78710464</guid><author>jwllls</author><pubDate>Mon, 04 Dec 2017 15:45:36 +0800</pubDate><description><![CDATA[Dagger2是一个依赖注入框架，所谓的依赖注入，是一种设计模式，能够很大程度地减少代码的耦合度]]></description><category></category></item><item><title><![CDATA[设计模式六大原则]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/78707233</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/78707233</guid><author>jwllls</author><pubDate>Mon, 04 Dec 2017 10:39:41 +0800</pubDate><description><![CDATA[为了让我们的代码有更佳的健壮性和可扩展性，我们在开发的时候应该遵循设计模式的六大原则，下面向大家介绍一下所谓的六大原则到底是什么。]]></description><category></category></item><item><title><![CDATA[安卓MVP模式]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/78510007</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/78510007</guid><author>jwllls</author><pubDate>Sun, 12 Nov 2017 09:15:51 +0800</pubDate><description><![CDATA[本篇博文主要介绍了MVP模式的相关概念，此外文中举了一个简单易懂的例子来实现MVP模式。]]></description><category></category></item><item><title><![CDATA[Error: Resource named 'back' does not start with the project's resource prefix 'xxxx';]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/77675959</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/77675959</guid><author>jwllls</author><pubDate>Tue, 29 Aug 2017 11:31:48 +0800</pubDate><description><![CDATA[使用Android Studio 打包生成 apk 的时候会出现：
Error: Resource named 'back' does not start with the project's resource prefix 'ucrop_'; rename to 'xxxx' ? [ResourceName]]]></description><category></category></item><item><title><![CDATA[常用正则表达式]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52951335</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52951335</guid><author>jwllls</author><pubDate>Thu, 27 Oct 2016 23:29:30 +0800</pubDate><description><![CDATA[常用正则表达式]]></description><category></category></item><item><title><![CDATA[Android屏幕适配解决方案]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52785739</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52785739</guid><author>jwllls</author><pubDate>Tue, 11 Oct 2016 10:22:25 +0800</pubDate><description><![CDATA[Android屏幕尺寸适配]]></description><category></category></item><item><title><![CDATA[自动轮转广告Android Image Slide]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52597313</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52597313</guid><author>jwllls</author><pubDate>Tue, 20 Sep 2016 16:28:02 +0800</pubDate><description><![CDATA[很多APP开发者都会为他们开发的APP加入广告来赚取一定的费用，而我们经常看到的就是自动轮转广告，它不仅效果酷炫还很实用。
在这里向大家介绍一种比较常用的轮转广告，喜欢大家喜欢。


步骤一：导入依赖
dependencies {    compile "com.android.support:support-v4:+"
    compile 'com.squareup.picasso]]></description><category></category></item><item><title><![CDATA[Tcp协议和http协议的区别]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52463965</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52463965</guid><author>jwllls</author><pubDate>Wed, 07 Sep 2016 22:22:05 +0800</pubDate><description><![CDATA[tcp对应于传输层、http对应于应用层
http协议建立在tcp协议之上


过程：当获取网络数据时，http通过TCP建立以个到服务器的通道，请求完成后，http立即断开连接，次过程非常短。所以说http是一种短连接、无状态连接。


socket称为套接字，方便程序员使用TCP/IP协议，它提供了网络通信的能力
其中有如下关系：
客户端进程--客户端socket--tcp连]]></description><category></category></item><item><title><![CDATA[Handler消息处理机制与AsyncTack]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52453052</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52453052</guid><author>jwllls</author><pubDate>Tue, 06 Sep 2016 20:01:25 +0800</pubDate><description><![CDATA[Handler消息机制与AsyncTask的相关介绍与使用。




实现过程:
1-Handle通过senMessage()发送Message到MessageQueue


2-Message存放在MessageQueue中等待处理（注：每个线程中只有一个MessageQueue对象）


3-Looper当MessageQue]]></description><category></category></item><item><title><![CDATA[广播机制]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52447564</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52447564</guid><author>jwllls</author><pubDate>Tue, 06 Sep 2016 10:17:49 +0800</pubDate><description><![CDATA[Android广播机制指的是，在一个应用程序运行的时候可以自定义一个消息类型，让相应的接收器去处理这个消息或者是系统消息，比如来电话了、来短信了、手机没电了等等系统发送的消息。系统发送的消息也可以通过广播的方式通知给应用程序，这样子就避免了新开一个Thread去监听系统或其他应用发送过来的消息的状态。



广播有两种类型（标准广播，有序广播）


创建广播有两种方法
1-动态方法]]></description><category></category></item><item><title><![CDATA[RecyclerView的基本使用步骤]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52446963</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52446963</guid><author>jwllls</author><pubDate>Tue, 06 Sep 2016 09:21:29 +0800</pubDate><description><![CDATA[RecyclerView的基本使用步骤。]]></description><category></category></item><item><title><![CDATA[sharePreferences存储的简使用方法]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52446674</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52446674</guid><author>jwllls</author><pubDate>Tue, 06 Sep 2016 08:38:51 +0800</pubDate><description><![CDATA[sharePreferences使用键值对来存储数据。


有三种方法用于得到sharePreferences对象
1-context中getsharePreferences()方法
2-activity类中的getPreferences();
3-PreferenceManager类中的getDefaultSharedPreferences()


sharePreferenc]]></description><category></category></item><item><title><![CDATA[App实现双击退出程序]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52446666</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52446666</guid><author>jwllls</author><pubDate>Tue, 06 Sep 2016 08:36:57 +0800</pubDate><description><![CDATA[原理：让定时器判断两次点击返回按钮的时间间隔，若小于定时器规定的时间则退出程序。]]></description><category></category></item><item><title><![CDATA[（OkHttp3.x，FormEncodingBuilder已被FormBody取代）]]></title><link>https://blog.youkuaiyun.com/jwllls/article/details/52446657</link><guid>https://blog.youkuaiyun.com/jwllls/article/details/52446657</guid><author>jwllls</author><pubDate>Tue, 06 Sep 2016 08:32:04 +0800</pubDate><description><![CDATA[（OkHttp3.x，FormEncodingBuilder已被FormBody取代）]]></description><category></category></item></channel></rss>