- 博客(12)
- 资源 (10)
- 收藏
- 关注
转载 Spring核心框架体系结构
Spring核心框架体系结构spring的jar包只有20个左右,每个都有相应的功能,一个jar还可能依赖了若干其他jar,所以,搞清楚它们之间的关系,配置maven依赖就可以简洁明了,下面举个例子,要在普通java工程使用spring框架,需要哪些jar呢?只要一个 org.springframework spring-context 3.2.17
2016-12-27 16:51:33
6924
1
转载 Eclipse打包时出现export aborted because fatal lint errors
Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn off"Run full error check when exporting app" in the Android > Lint Error Checking preference page.
2016-04-12 10:58:17
460
原创 Android中Intent基本使用
Android中Intent基本使用Intent(意图)的基本作用一个Intent对象包含了一组信息: Category FlagsIntent的基本使用方法Intent intent = new Intent();intent.setClass(Activity01.this,Activity02.class);startA
2015-10-21 21:36:12
460
原创 ProgressDialog进度对话框初识
ProgressDialog进度对话框继承关系图java.lang.Objectandroid.app.Dialogandroid.app.AlertDialogandroid.app.ProgressDialog用android.app.ProgressDialog.ProgressDialog(Context context)构造器如下: public class
2015-10-21 09:36:12
500
原创 AlertDialog 警告对话框
AlertDialog 警告对话框用new AlertDialog.Builder(Context context)来创建一个builder可以利用builder设置基本信息如 标题、信息、icon:Builder.setTitle(CharSequence title)Builder.setMessage(CharSequence message)Builder.setIco
2015-10-21 09:29:26
651
原创 在SQLite中使用事务
在SQLite中使用事务用一个事务转账来实现SQLite的事务处理:下面的person类是已经创建好了的表,在《创建数据库与完成数据添删改查(一)》中可以看到 1> update person set amount = amount-10 where personid=1; 2> update person set amount = amount+10 where personid=
2015-10-18 17:40:37
599
原创 创建数据库与完成数据增删改查(二)
SQLite完成数据增删改查A.使用SQLiteOpenHelper里的.getReadableDatabase()方法或.getWriteableDatabase()方法完成数据的增删改查B.使用insert(),delete(),update(),query()方法完成数据的增删改查
2015-10-18 17:28:39
813
原创 创建数据库与完成数据添删改查(一)
在Android平台上,集成了一个嵌入式关系型数据库-SQLite. 执行就产生一个db文件,就可以在File Explorer 视图中的data/data/<包名>/databases/ 目录下找到,也就可以pull file出来,后用SQLite Expert工具打开这个文件,也就可以看到数据结果
2015-10-18 17:16:12
922
原创 采用Pull解析器生成XML内容
采用Pull解析器生成XML内容在Android已经集成进了Pull解析器,所以无需添加任何jar文件Android系统本身用到的xml,其内部也是采用Pull解析器进行解析的。下面是一个xml文件, 是要以这个xml结构生成xml的内容: liming 30 zhangxiaoxiao 25 写
2015-10-15 09:58:09
459
原创 采用Pull解析器解析XML内容
采用Pull解析器解析XML内容现在来讲一下 采用Pull解析器解析XML内容在Android已经集成进了Pull解析器,所以无需添加任何jar文件Android系统本身用到的xml,其内部也是采用Pull解析器进行解析的。下面是一个xml文件:person.xml ,是直接放在src目录下的 liming 30 zhangx
2015-10-15 08:43:12
362
Maven实战(国内公认Maven专家Juven Xu执笔)
2016-09-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅