11 2015 档案

摘要:我们需要把代码里面的R.xx.xx改成以下方式读取: 1 package com.xlcw.sdk.tool; 2 3 import java.lang.reflect.Field; 4 import android.content.Context; 5 import android.util.L... 阅读全文
posted @ 2015-11-21 09:32 小翔momo 阅读(959) 评论(0) 推荐(0) 编辑
摘要:在开发过程中,发现小米4c调用CallStaticObjectMethod就会奔溃解决办法:把CallStaticObjectMethod换成CallStaticIntMethod后正常调用PS:怀疑是小米4c手机CallStaticObjectMethod函数底层有bug 阅读全文
posted @ 2015-11-18 14:55 小翔momo 阅读(604) 评论(0) 推荐(0) 编辑
摘要:查找类、方法和属性的引用:ctrl + shift + g为函数添加注释:/** + 回车在本文件中查找变量:ctrl + shift + u单行注释:ctrl + /块注释:ctrl + shift + /查找本类中的方法:ctrl + o快速向下查找选中内容:ctrl + k快速向上查找选中内容... 阅读全文
posted @ 2015-11-11 20:51 小翔momo 阅读(172) 评论(0) 推荐(0) 编辑
摘要:1 private static Handler mHandler = new Handler(){ 2 @Override 3 public void handleMessage(Message msg) 4 { 5 if(msg.what == 0) ... 阅读全文
posted @ 2015-11-05 19:31 小翔momo 阅读(143) 评论(0) 推荐(0) 编辑
摘要:1.使用jdk1.7。2.重启android studio。 阅读全文
posted @ 2015-11-05 10:01 小翔momo 阅读(3990) 评论(0) 推荐(0) 编辑