随笔分类 -  android

摘要:import android.text.format.Time;还有一个是DateLocation中的gettime,这几个每个默认的格式都不一样,直接输出字符串各自得到了不同比如按照获取当前时间 现在的时间2014/09/14 22:24第一个输出 20140914T221841Asia/Cho... 阅读全文
posted @ 2014-09-14 22:29 Zoe_J 阅读(1184) 评论(0) 推荐(0)
摘要:新建的一个Fragment,被一个Activity使用,那么这个Activity需要继承一个接口: 阅读全文
posted @ 2014-09-13 23:50 Zoe_J 阅读(4820) 评论(0) 推荐(0)
摘要:The following classes could not be instantiated:-android.support.v4.widget.DrawerLayout (Open Class, Show Exception) Tip: Use View.isInEditMode() in y... 阅读全文
posted @ 2014-09-13 11:51 Zoe_J 阅读(2386) 评论(0) 推荐(0)
摘要:Field[] svgfields = R.drawable.class.getFields(); listid = new ArrayList(); for (Field field : svgfields) { if ... 阅读全文
posted @ 2014-06-22 15:06 Zoe_J 阅读(244) 评论(0) 推荐(0)
摘要:查了很多,说修改manifest。本来是没有任何的修改,自动生成的,最后发现参考了人家的一篇:http://bbs.csdn.net/topics/390613702修改包名,包名带了大些的开头了。 阅读全文
posted @ 2014-06-17 23:43 Zoe_J 阅读(329) 评论(0) 推荐(0)
摘要:参考了这个里面的代码http://bbs.csdn.net/topics/380084274一直报错06-16 23:58:50.698 26148-26161/com.example.myapplication.app W/ContentResolver﹕ Failed to get type f... 阅读全文
posted @ 2014-06-17 00:35 Zoe_J 阅读(1980) 评论(2) 推荐(0)
摘要:因为fragment而发生的setOnClickListener出错 阅读全文
posted @ 2014-05-26 22:57 Zoe_J 阅读(959) 评论(0) 推荐(0)
摘要:android 提示 阅读全文
posted @ 2014-05-25 16:09 Zoe_J 阅读(605) 评论(0) 推荐(0)
摘要:主要是重写 simplelistadapter这个类 内部的bindview这个函数来调整图片的显示,记下这个随笔以便以后查看 阅读全文
posted @ 2011-04-05 17:37 Zoe_J 阅读(747) 评论(0) 推荐(0)
摘要:从外界加入的android数据库,类似字典的功能 阅读全文
posted @ 2011-02-13 02:35 Zoe_J 阅读(2008) 评论(0) 推荐(1)