
Android Normal
文章平均质量分 77
SoulOfAndroid
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
======Volley======
Application 中 private RequestQueue mRequestQueue; private static AppController mInstance; @Override public void onCreate() { super.onCreate(); mInstance = this; } /** * 锁定的是本类 * * @r原创 2015-01-09 11:15:54 · 630 阅读 · 0 评论 -
======ImageLoader======
private void initImageLoader(){ ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(this) .threadPriority(Thread.NORM_PRIORITY - 2) .denyCacheImageMultipleSizesInMemory()原创 2015-01-08 13:12:50 · 752 阅读 · 0 评论 -
======Gson======
Gson gson = new Gson(); /*Gson的fromJson方法是在和Bean的属性努力的对应。*/ String str = "{\"age\":20}"; Person bean = gson.fromJson(str, Person.class); System.out.println(str); System.out.println(bean.toSt原创 2015-01-08 14:19:04 · 643 阅读 · 0 评论 -
使用PULL解析XML文件
XmlPull和Sax类似,是基于流(stream)操作文件,然后根据节点事件回调开发者编写的处理程序。因为是基于流的处理,因此Xmlpull和 Sax都比较节约内存资源,不会象Dom那样要把所有节点以对橡树的形式展现在内存中。 但Xmlpull比Sax更简明,而且不需要扫描完整个流。 下面来看一个pull解析xml的例子: student.xml:转载 2015-01-06 11:13:29 · 642 阅读 · 0 评论 -
======XUtils======
xUtils简介 xUtils 包含了很多实用的android工具。xUtils 支持大文件上传,更全面的http请求协议支持(10种谓词),拥有更加灵活的ORM,更多的事件注解支持且不受混淆影响...xUitls 最低兼容android 2.2 (api level 8) 目前xUtils主要有四大模块: DbUtils模块: android中的orm框架,一行代转载 2015-01-13 10:52:11 · 604 阅读 · 0 评论 -
======FragmentTabHost======
package com.lidroid.xutils.sample; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentTabHost; import android.view.LayoutInflater; import原创 2015-01-13 11:01:31 · 1127 阅读 · 0 评论 -
=====umeng--->push======
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.day_2015_umengpush" android:versionCode="1" android:versionName="1.0" > <uses-sdk and原创 2015-01-16 13:01:27 · 1618 阅读 · 0 评论