摘要: 是因为编译的jdk为1.7版本,使用1.6版本的jdk编译解决此问题导致在低版本安卓操作系统安装出现异常 阅读全文
posted @ 2014-12-30 14:31 qiguaismuty 阅读(516) 评论(0) 推荐(0)
摘要: 转载http://blog.csdn.net/dxpqxb/article/details/7987764我们经常看见一句话:Android主线程是线程不安全的。这句话的意思是:更新UI只能是主线程的工作,子线程更新UI是线程不安全的,所以android里非主线程操作主UI就会报错。为什么呢?因为子... 阅读全文
posted @ 2014-12-27 16:43 qiguaismuty 阅读(487) 评论(0) 推荐(0)
摘要: spinner类的onDetachedFromWindow为protected,非同一package不能调用 public void packUpSpinnerPopup(){ try { Class spinner = m_Spinner.getClass... 阅读全文
posted @ 2014-12-27 14:37 qiguaismuty 阅读(406) 评论(0) 推荐(0)
摘要: import requestsimport jsonimport hashliburl = 'http://a.qbao.com/short'param={"longUrl":r"http://m.qianbao666.com/api/v30/share4Client/share?type=3&pr... 阅读全文
posted @ 2014-12-23 18:28 qiguaismuty 阅读(686) 评论(0) 推荐(0)
摘要: ListView listview = (ListView) solo.getView("id/list"); int[] location = new int[2]; listview.getLocationOnScreen(location); ... 阅读全文
posted @ 2014-12-23 15:06 qiguaismuty 阅读(833) 评论(3) 推荐(0)
摘要: redis-cli-h192.168.7.218-p6379monitor|grep"redis:hash:im" 阅读全文
posted @ 2014-12-15 16:46 qiguaismuty 阅读(482) 评论(0) 推荐(0)
摘要: 1.JAVA反射机制http://www.cnblogs.com/jqyp/archive/2012/03/29/2423112.html2.String StringBuilder StringBuffer 对比http://blog.csdn.net/clam_clam/article/deta... 阅读全文
posted @ 2014-12-15 09:31 qiguaismuty 阅读(170) 评论(0) 推荐(0)
摘要: E:\android\android-sdk-windows-1.5_pre\tools>adb shell am instrument -w cc.androidos.activity/android.test.InstrumentationTestRunner如果你配置了Android环境变量,... 阅读全文
posted @ 2014-12-13 15:46 qiguaismuty 阅读(327) 评论(0) 推荐(0)
摘要: int id=Activity act.getResources().getIdentifier("target_element_name", "id", TARGET_PACKAGE_NAME); 阅读全文
posted @ 2014-11-19 09:52 qiguaismuty 阅读(449) 评论(0) 推荐(0)
摘要: 创建表设置的AUTO_INCREMENT属性在执行truncate操作后,自增序列会自动被置为0http://dev.mysql.com/doc/refman/5.0/en/truncate-table.htmlFor an InnoDB table before version 5.0.3, In... 阅读全文
posted @ 2014-11-14 15:00 qiguaismuty 阅读(2177) 评论(0) 推荐(0)