代码改变世界

随笔档案-2011年01月

Linux Find 命令精通指南

2011-01-20 14:41 by RayLee, 203 阅读, 收藏,
摘要: http://www.oracle.com/technology/global/cn/pub/articles/calish-find.html 阅读全文

Dip and Sp

2011-01-18 13:42 by RayLee, 287 阅读, 收藏,
摘要: Historically, programmers always designed computer interfaces in terms of pixels. For example, you might make a field 300 pixels wide, allow 5 pixels of spacing between columns, and define Icons 16-by... 阅读全文

Android Init Language

2011-01-12 10:27 by RayLee, 396 阅读, 收藏,
摘要: 本文来自Android源码文档,作为启动配置的一个指导。 The Android Init Language consists of four broad classes of statements, which are Actions, Commands, Services, and Options. All of these are line-oriented, consisting of t... 阅读全文

获得系统权限,修改系统时间 ---- 转

2011-01-04 16:39 by RayLee, 570 阅读, 收藏,
摘要: Android中如何修改系统时间(应用程序获得系统权限) 在 android 的API中有提供 SystemClock.setCurrentTimeMillis()函数来修改系统时间,可惜无论你怎么调用这个函数都是没用的,无论模拟器还是真机,在logcat中总会得到"Unable to open alarm driver: Permission denied ".这个函数需要root权限或者运行与... 阅读全文