摘要: 1.把milliseconds转为hh:mm:ssView Code 1 public static String formatMillisecondsToString(long millisecond) { 2 int hour = 0; 3 int minute = 0; 4 5 int second = (int) millisecond / 1000; 6 if (second >= 60) { 7 minute = second / 60; 8 second =... 阅读全文
posted @ 2012-11-30 15:11 qiangzhu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: ubuntu系统下,adb不是内部命令 1.sudo gedit ~/.bashrc 2.在文档末尾加入 export PATH=$PATH:/home/android-sdks/platform-tools OK 搞定! 阅读全文
posted @ 2012-11-30 11:09 qiangzhu 阅读(1668) 评论(0) 推荐(0) 编辑