2014年8月30日

makefile常用函数

摘要: strip :去空格函数$(strip string)功能:去掉字串中开头和结尾的空字符。返回:返回被去掉空格的字符串值。示例TEST = DEFAULT RESULT = noifeq ($(strip $(TEST)), DEFAULT) RESULT = yesendi... 阅读全文

posted @ 2014-08-30 15:58 小尾巴猴子 阅读(163) 评论(0) 推荐(0) 编辑

Android.mk中设置PROPERTIES属性

摘要: ifeq (true,$(strip $(enable_target_debugging))) # Target is more debuggable and adbd is on by default ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable... 阅读全文

posted @ 2014-08-30 15:43 小尾巴猴子 阅读(339) 评论(0) 推荐(0) 编辑

android双击灭屏

摘要: 1.android处理双击事件 // 计算点击的次数 private int count = 0; // 第一次点击的时间 long型 private long firstClick = 0; // 最后一次点击的时间 private long... 阅读全文

posted @ 2014-08-30 15:28 小尾巴猴子 阅读(279) 评论(0) 推荐(0) 编辑

导航