android开发
文章平均质量分 54
manwahshaw
这个作者很懒,什么都没留下…
展开
-
android开发之XmlResourceParser
使用自定义的XML资源,这当然也必须是Android的一个功能,Java开发者可以使用DOM,SAX等多种方式,Android内建了Pull来解析XML 那么我个人觉得在Android中还是使用它的内建解析方法比较好,使用其它方式还要下载它们的Jar包,还是挺麻烦的.原创 2014-04-09 22:27:09 · 947 阅读 · 0 评论 -
常用的android studio 快捷键
常用的 1.Ctrl+E,可以显示最近编辑的文件列表 2.Shift+Click可以关闭文件 3.Ctrl+[或]可以跳到大括号的开头结尾 4.Ctrl+Shift+Backspace可以跳转到上次编辑的地方 5.Ctrl+F12,可以显示当前文件的结构 6.Ctrl+F7可以查询当前元素在当前文件中的引用,然后按F3可以选择 7.Ctrl+N,可以快速打开类 8.Ctrl+S原创 2014-04-10 17:45:49 · 1152 阅读 · 0 评论 -
spinner notnullpoint 的出现
在用了下面这段代码之后会原创 2014-04-11 02:41:09 · 570 阅读 · 0 评论 -
pendingIntent
pendingIntent字面意义:等待的,未决定的Intent。 要得到一个pendingIntent对象,使用方法类的静态方法 getActivity(Context, int, Intent, int), getBroadcast(Context, int, Intent, int), getService(Context, int, Intent, int) 分别对应着In转载 2014-04-11 23:00:08 · 471 阅读 · 0 评论 -
layoutinflater 空指针错误
这是个 AlertDialog.Builder builder; AlertDialog alertDialog; Context mContext = MainActivity.this; LayoutInflater inflater = (LayoutInflater) mContext原创 2014-04-13 22:45:20 · 1021 阅读 · 0 评论