2016年5月17日

摘要: //共享参数,多用于自动登录,是 android常用的数据储存的一种,用于储存少量数据,Integer,Double,String等。 阅读全文
posted @ 2016-05-17 10:22 huaihuaibuguai 阅读(273) 评论(0) 推荐(0) 编辑

2016年5月13日

摘要: //文件读写 //文件创建 阅读全文
posted @ 2016-05-13 11:02 huaihuaibuguai 阅读(169) 评论(0) 推荐(0) 编辑

2016年5月11日

摘要: //Activity分为:补间动画,帧动画,属性动画 //补间动画有4种效果:渐变,位移,旋转,缩放 //补间动画属性 android:duration 动画的持续时间(以毫秒为单位) android:fillAfter 当设置为true时,动画保持结束时的状态。默 认为false,动画完成之后返回 阅读全文
posted @ 2016-05-11 18:46 huaihuaibuguai 阅读(288) 评论(0) 推荐(0) 编辑

2016年5月6日

摘要: Android系统中自带的SimpleAdapter,有很多局限,所以很多用自定义的 //系统的SimpleAdapter a.xml listview.xml UIUU.java //自定义Adapter list.xml a.xml MyAdapter.java MainActivity.jav 阅读全文
posted @ 2016-05-06 21:25 huaihuaibuguai 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Android页面跳转使用Intent,有显式和隐式两种 //显式跳转 显式用的多一点 //隐式跳转 隐式要安全一点 阅读全文
posted @ 2016-05-06 15:59 huaihuaibuguai 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Dialog一般用自定义的,系统自带的也有 //学了自定义在说 阅读全文
posted @ 2016-05-06 15:53 huaihuaibuguai 阅读(289) 评论(0) 推荐(0) 编辑
摘要: //传值 Intent i = new Intent(); Bundle bundle=new Bundle(); i.setClass(Reign.this, Login.class); bundle.putSerializable("data", (Serializable) user);//序 阅读全文
posted @ 2016-05-06 15:47 huaihuaibuguai 阅读(322) 评论(0) 推荐(0) 编辑

2014年9月19日

摘要: Description The Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hundreds of t 阅读全文
posted @ 2014-09-19 21:21 huaihuaibuguai 阅读(207) 评论(0) 推荐(0) 编辑

2014年9月4日

摘要: Description Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number 阅读全文
posted @ 2014-09-04 14:46 huaihuaibuguai 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Description In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping 阅读全文
posted @ 2014-09-04 11:42 huaihuaibuguai 阅读(192) 评论(0) 推荐(0) 编辑

导航