摘要: Write a method that will search an array of strings for all strings that contain another string, ignoring capitalization. Then return an array of the ... 阅读全文
posted @ 2015-02-09 22:08 刘奇CUMT 阅读(111) 评论(0) 推荐(0) 编辑
摘要: you must create a functionpowersthat takes an array, and returns the number of subsets possible to create from that list. In other words, counts the p... 阅读全文
posted @ 2015-02-07 21:44 刘奇CUMT 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 如图所示 小写的void为关键字 表示无返回值大写的Void 是用来表示void一个占位符的类 阅读全文
posted @ 2015-01-15 21:18 刘奇CUMT 阅读(836) 评论(0) 推荐(0) 编辑
摘要: 1. 开始画面 android:visibility="gone"关于visibility可见(visible)XML文件:android:visibility="visible"Java代码:view.setVisibility(View.VISIBLE);不可见(invisible)XML文件:... 阅读全文
posted @ 2014-12-27 09:29 刘奇CUMT 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 如图所示 错误语句上面自动生成的return 方法没有删除 导致运行时直接返回 无法继续往下执行改正:删除该语句 阅读全文
posted @ 2014-12-24 10:55 刘奇CUMT 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 不能更新的原因: 1.在xml文件中代码错误或者格式错误 2.eclipse 编译器是老版本 3.布局文件的文件名有大写字母 4.含有相同文件名、格式的xml文件解决方法: 1.找到出错的xml文件中的错误代码格式改正,并执行p... 阅读全文
posted @ 2014-12-23 13:03 刘奇CUMT 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-12-22 18:53 刘奇CUMT 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 错误原因:this在同一个类中才能直接使用 不用加上前面的类名。而本程序this在类名外 需要加上类名修改后: 阅读全文
posted @ 2014-12-22 16:01 刘奇CUMT 阅读(412) 评论(0) 推荐(1) 编辑
摘要: 运行后 手机点击获取分辨率按钮后 程序崩溃原因:String赋值给int的resId,所以编译器找不到正确的resource在这个程序中 获取的分辨率为Int类型 所以报错 在后面加+""即可修改后的代码 阅读全文
posted @ 2014-12-22 15:52 刘奇CUMT 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 关于Permission的使用 :图一 和 图二区别???? 阅读全文
posted @ 2014-12-15 20:07 刘奇CUMT 阅读(94) 评论(0) 推荐(0) 编辑