- 博客(6)
- 收藏
- 关注
转载 android adb启动程序
adb shellam start -n com.xxx.cocos2dx.defendwar/com.xxx.cocos2dx.activity.GameMain
2016-01-14 16:08:20
314
转载 ubuntu 环境变量文件
使用gedit打开配置文件:sudo gedit /etc/profile配置完成后,马上执行:source /etc/profile
2016-01-14 15:36:53
539
转载 android monkey自动化测试
在ubunt下://启动adb shell monkey -p your.package.name -v 500//停止adb shell ps//查找出com.android.commands.monkey 进程PIDadb shell kill pid//杀掉进程
2016-01-14 15:34:43
350
转载 android logcat中显示当前类名函数名和行数信息
android logcat中显示当前类名函数名和行数信息import android.util.Log;public class LogUtils { private static final String TAG = "LogUtils"; private static final int STACK_TRACE = 3; public static void log(Str
2016-01-14 15:32:47
1330
转载 android 获取activity的根view
android 获取activity的根view((ViewGroup) (yourActivity.findViewById(android.R.id.content))).getChildAt(0);
2016-01-14 15:30:24
1259
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅