<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深蓝的blog &#187; Android</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=android" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 18 Apr 2026 07:10:07 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>com.android.support:appcompat-v7:23.4.0 and com.android.support:recyclerview-v7:21.1.2</title>
		<link>http://www.lanxinbase.com/?p=1635</link>
		<comments>http://www.lanxinbase.com/?p=1635#comments</comments>
		<pubDate>Mon, 10 Apr 2017 01:48:53 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[appcompat]]></category>
		<category><![CDATA[recyclerview]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1635</guid>
		<description><![CDATA[These are the correct version that you can add in your  [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1635</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发加载图片旋转的例子</title>
		<link>http://www.lanxinbase.com/?p=1087</link>
		<comments>http://www.lanxinbase.com/?p=1087#comments</comments>
		<pubDate>Mon, 13 Jun 2016 02:38:05 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[动画]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1087</guid>
		<description><![CDATA[最近写了个项目，是使用webView写的，在网页加载的时候因为网速的原因，往往没有达到1秒即开的那种效果，所以添加了一个图片loading旋转的功能，告诉用户，APP正在加载中。

下面是xml布局代码：

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1087</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发:AsyncTask深入解析</title>
		<link>http://www.lanxinbase.com/?p=1068</link>
		<comments>http://www.lanxinbase.com/?p=1068#comments</comments>
		<pubDate>Sat, 04 Jun 2016 07:28:33 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[AsyncTask]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1068</guid>
		<description><![CDATA[AsyncTask介绍
Android的AsyncTask比Handler更轻量级一些，适用于简单的异步处理。
首先明确Android之所以有Handler和AsyncTask，都是为了不阻塞主线程（UI线程），且UI的更新只能在主线程中完成，因此异步处理是不可避免的。
Android为了降低这个开发难度，提供了AsyncTask。AsyncTask就是一个封装过的后台任务类，顾名思义就是异步任务。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1068</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android开发: AsyncTask 任务屏幕旋转处理 ProgressDialog的方法</title>
		<link>http://www.lanxinbase.com/?p=1066</link>
		<comments>http://www.lanxinbase.com/?p=1066#comments</comments>
		<pubDate>Fri, 03 Jun 2016 16:00:32 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[AsyncTask]]></category>
		<category><![CDATA[ProgressDialog]]></category>
		<category><![CDATA[屏幕旋转]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1066</guid>
		<description><![CDATA[        今天重新研究了一下AsyncTask这个后台任务的代码，发现旋转设备时，ProgressDialog会自动消失，但是后台的工作线程依然在运行中，大大的降低了用户体验；

        书里有说使用弱引用，但是百度了很多帖子，看到的都死废话连篇，]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1066</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发Menu菜单的Item无法显示Icon</title>
		<link>http://www.lanxinbase.com/?p=1064</link>
		<comments>http://www.lanxinbase.com/?p=1064#comments</comments>
		<pubDate>Thu, 02 Jun 2016 11:03:08 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Icon]]></category>
		<category><![CDATA[Item]]></category>
		<category><![CDATA[Menu]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1064</guid>
		<description><![CDATA[今天开发一个APP，需要在menu的item中显示icon，可是设置了icon始终都不显示，接着就网站查，查了好多都是没用的，所以下载把我处理的结果记录下来，免得以后忘记：

这个是在CSDN中guolin博主发现的方法，是利用反射来完成的，具体博客地址]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1064</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发之服务监听消息的功能</title>
		<link>http://www.lanxinbase.com/?p=1051</link>
		<comments>http://www.lanxinbase.com/?p=1051#comments</comments>
		<pubDate>Fri, 27 May 2016 08:51:23 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[HttpURLConnection]]></category>
		<category><![CDATA[Notification]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[SharedPreferences]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1051</guid>
		<description><![CDATA[ConfigEx：系统动态配置操作类，用来操作消息的ID。

HttpUtils：http读取文件操作类。

ListenerMsgService：消息服务监听类，就是间隔多少秒自动读取服务器的消息，原理很简单。

NotificationUtils：bar消息发送类。

ReadActivity.java：消息读取处理的一个Activity。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1051</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>android开发ContentObserver 监控短信的实现</title>
		<link>http://www.lanxinbase.com/?p=1042</link>
		<comments>http://www.lanxinbase.com/?p=1042#comments</comments>
		<pubDate>Tue, 24 May 2016 05:27:13 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[ContentObserver]]></category>
		<category><![CDATA[监控短信]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1042</guid>
		<description><![CDATA[        因为可以访问SMS收件箱，所以将能够访问其他与SMS 相关的文件夹，比如已发送文件夹或草稿箱文件夹。访问收件箱与访问其它文件夹的唯一区别就在于所指定的 URI。例如，可以对 content://smsnt 执行查询来访问已发送的文件夹。以下是完整的 SMS文件夹列表和每个文件夹的URI。

所有文件夹：content://sms/all
收件箱：content://sms/inbox
已发送：content://smsnt
草稿：content://sms/draft
发件箱：content://sms/outbox
发送失败：content://sms/failed
排队消息:content://sms/queued]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1042</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android开发之SQLite(手机记账App)</title>
		<link>http://www.lanxinbase.com/?p=1023</link>
		<comments>http://www.lanxinbase.com/?p=1023#comments</comments>
		<pubDate>Mon, 16 May 2016 06:53:12 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1023</guid>
		<description><![CDATA[MainActivity.class 源码片段

private static final String TAG = "SQLiteLOG";
private MenuSelect menuSelect;
public int _id;
private Button but_save,but_update,but_delete;
private EditText name,money,remark;


@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);

    FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);

    fab.setVisibility(0);

    fab.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                    .setAction("Action", null).show();
        }
    });

    name = (EditText)findViewById(R.id.item_name);
    money = (EditText)findViewById(R.id.item_money);
    remark = (EditText)findViewById(R.id.item_remark);

    Bundle bundle = getIntent().getExtras();
    if(bundle != null){
        _id = Integer.valueOf(bundle.getString("id"));
        name.setText(bundle.getString("name"));
        money.setText(bundle.getString("money"));
        remark.setText(bundle.getString("remark"));

    }
    init(this);


}
]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1023</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android 开发SQLiteDatabase操作类</title>
		<link>http://www.lanxinbase.com/?p=1021</link>
		<comments>http://www.lanxinbase.com/?p=1021#comments</comments>
		<pubDate>Mon, 16 May 2016 06:28:35 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[SQLiteDatabase]]></category>
		<category><![CDATA[SQLiteOpenHelper]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1021</guid>
		<description><![CDATA[以上的代码是SQLite操作类的源代码，实现的方法很简单：

1.新增DBHelper类，继承SQLiteOpenHelper，并且实现onCreate跟onUpgrade方法。

2.新增DBbridge类，用来实现数据库的增、删、改、查等4个方法。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1021</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发ToolBar详细解说</title>
		<link>http://www.lanxinbase.com/?p=987</link>
		<comments>http://www.lanxinbase.com/?p=987#comments</comments>
		<pubDate>Sun, 08 May 2016 04:07:03 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[ToolBar]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=987</guid>
		<description><![CDATA[1. 概述

Android 3.0  Android 推了 ActionBar 这个控件，而到了2013 年 Google 开始大力地推动所谓的 android style，想要逐渐改善过去 android 纷乱的界面设计，希望让终端使用者尽可能在 android 手机有个一致的操作体验。ActionBar 过去最多人使用的两大套件就是 ActionBarSherlock 以及官方提供在 support library v 7 里的 AppCompat。

既然会有本篇跟各位介绍的 Toolbar，也意味着官方在某些程度上认为 ActionBar 限制了 android app 的开发与设计的弹性，而在 material design 也对之做了名称的定义：App bar。接下来将为各位分成几个阶段进行说明，如何在 android app 中用 toolbar 这个控件来做出一个基本的 app bar 喽。

本篇所使用到的程序请到 Github 取得。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=987</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
