统计

留言簿(1)

DB

Others

QA

Tech Website

阅读排行榜

评论排行榜

07 2011 档案

【转】Linux IPC

posted @ 2011-07-31 08:53 XXXXXX 阅读(228) | 评论 (0)  编辑

【转】深入理解Android消息处理系统
     摘要: Android系统中Looper负责管理线程的消息队列和消息循环,具体实现请参考Looper的源码。 可以通过Loop.myLooper()得到当前线程的Looper对象,通过Loop.getMainLooper()可以获得当前进程的主线程的Looper对象。  阅读全文

posted @ 2011-07-29 11:53 XXXXXX 阅读(249) | 评论 (0)  编辑

Glossary of Android
     摘要: The list below defines some of the basic terminology of the Android platform.

.apk file
Android application package file. Each Android application is compiled and packaged in a single file that includes all of the application's code (.dex files), resources, assets, and manifest file. The application package file can have any name but must use the .apk extension. For example: myExampleAppname.apk. For convenience, an application package file is often referred to as an ".apk".
Re  阅读全文

posted @ 2011-07-25 11:42 XXXXXX 阅读(296) | 评论 (0)  编辑

Manifest.permission Summary

posted @ 2011-07-24 15:15 XXXXXX 阅读(685) | 评论 (0)  编辑

Special Methods for Customizing Classes
     摘要: C.__init__(self[, arg1, ...] )
Constructor (with any optional arguments)

C.__new__(self[, arg1, ...] )[a]
Constructor (with any optional argu ments); usually used for setting up subclassing of immutable data types

C.__del__(self)
Destructor

C.__str__(self)
Printable string representation; str() built-in and print statement

C.__repr__(self)
Evaluatable string representation; repr() built-in and '' operator

  阅读全文

posted @ 2011-07-21 23:25 XXXXXX 阅读(237) | 评论 (0)  编辑

【转】再谈Yahoo关于性能优化的N条军规
     摘要: 本来这是个老生常谈的问题,上周自成又分享了一些性能优化的建议,我这里再做一个全面的Tips整理,谨作为查阅型的文档,不妥之处,还请指正;
如果你已经对yahoo这些优化建议烂熟于心,果断点这里

  阅读全文

posted @ 2011-07-21 09:21 XXXXXX 阅读(200) | 评论 (0)  编辑

【转】Choosing a test automation framework

posted @ 2011-07-15 22:30 XXXXXX 阅读(291) | 评论 (0)  编辑

ASE入门
     摘要: 一、ASE(Android Scripting Environment)为Android系统带来了脚本语言的技术,通过它我们可以编辑和执行脚本,和脚本解释交互。脚本可以访问多数Android API,目前有一个开源项目叫做Scripting Layer for Android (SL4A) ,提供了对python,javaScript, Lua等脚本的支持。ASE主要通过两种方式来访问 Android API,一种是通过JSON-RPC来访问,另外一种通过BeanShell(Java语言的动态版本)直接访问Android API。SL4AL架构如下图:  阅读全文

posted @ 2011-07-10 10:08 XXXXXX 阅读(2589) | 评论 (0)  编辑

获取Android的Java源代码并在Eclipse中关联查看的最新方法

posted @ 2011-07-09 09:38 XXXXXX 阅读(224) | 评论 (0)  编辑

【转】Android 2.1 源码结构分析

posted @ 2011-07-09 09:37 XXXXXX 阅读(239) | 评论 (0)  编辑

Android Coding for Life-Battery Life

posted @ 2011-07-08 09:37 XXXXXX 阅读(1549) | 评论 (0)  编辑