自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (14)
  • 收藏
  • 关注

原创 find string in file (need to be improved)

maybe it will be useful when we want to find a variable in a directory.target=$1traversal(){    cd "$1"    for x in *    do       if [ -f $x ]      then        #echo $x        grep $target

2011-12-29 23:37:01 636

原创 Plugin create

PluginView creation How is the plugin initialized? it's begin with the PluginView's creation1.PluginView.create()PassRefPtr PluginView::create(Frame* parentFrame, const IntSize& size

2011-12-27 22:33:30 1436

原创 CTS command

1.start one packagestart --plan CTS -p android.webkit2.start one planstart --plan CTS -p android.webkit.cts.WebChromeClientTest3.start one casestart --plan CTS -t android.webkit.cts.Cach

2011-12-27 21:36:54 645

原创 Webkit Download files

1. WebView.loadUrl......2.bool MainResourceLoader::loadNow(ResourceRequest& r)3.m_handle = ResourceHandle::create(m_frame->loader()->networkingContext(), r, this, false, true);....network.

2011-12-27 21:29:28 2002

原创 get processid and threadid

We want to get the linux  process id and the thread id from java.Actually there will be no directly way, because we don't know the mechanism that dalvik, at least now.but i'v got a method to get i

2011-12-18 22:33:26 2842 1

转载 get linux thread id

first a thread program sample#include #include #include static int i = 0;void *threadfunc(void* pId){ int j = *(int*)pId; while(1){ printf("thread %d,%d\n", *(int*)pId,j++

2011-12-17 18:03:18 9174 1

原创 backtrace

There is a linux-only solution to print the stack frame the the  thread.There are some important thingsa. inline functions have no stack framesb.static functions have no stack framesc.the stac

2011-12-16 00:05:37 1119 1

原创 watchthread

useful if we need to watch the status of a thread.import android.os.Message;import android.os.Handler;import android.os.MessageQueue;import android.os.Looper;import java.util.ArrayList;import

2011-12-15 20:56:25 1772 1

原创 Webkit Timer study notes

Timer Class and Timer start1.TimerBaseBase class for timer . has function "start", "stop" and so forth.2.TimerTimer is subclass of TimerBase, it's also Class template." TimerFiredClass" is

2011-12-15 00:03:27 2444

原创 study notes

1. Browser's threadThere are two threads in Browser's application.One is the UI thread, the activity's thread, and the other is the WebCoreThread.No matter how many tabs you open, there is still

2011-12-11 14:57:16 852

原创 little endian and big endian

There three type of address order in computer1. address order for variablesthere maybe many varaibles in the program, and whose address is higher and whose is lower?general thinking it should in

2011-12-04 16:30:58 1049

转载 adapter proxy facade pattern

fromhttp://apps.hi.baidu.com/share/detail/42263668Decorator Adapter Proxy Bridge Facade设计模式 区别 Decorator模式与Adapter模式,Bridge模式的区别 :有关Adapter模式和Builder模式的介绍,请参考下面2篇文章:设计模式之Adapter -

2011-12-03 20:56:13 1304

原创 ways of getting size to machine size

Sometimes we need to get a structure or something's size in machine's word-length.But there is one key point, that's if there are some extra that less than one word-length, it also need one word-len

2011-12-03 14:17:45 647

原创 Android Hander and Message

I have talk about Handler in an article before. http://blog.csdn.net/elfylin/article/details/6085042.Here mainly i want to discuss something between Hander and Message.1. Message  has some  fr

2011-12-03 00:26:38 3615

原创 C LOG function

Usually we need log to debug our program, usually in log format.Here is a simple but usful log file for C/C++ function.#include #include #include "string.h"int LOGL(char * filename, const cha

2011-12-02 21:42:54 2016

VMware_Install_Cleaner

卸载vmware的神器 提示 vmware已经安装,安装程序又找不到,可以用这个卸载。

2012-08-19

IDL(Interface_Definition_Language)

介绍IDL,接口描述语言的文档。简述、结构和语法。

2011-08-27

Android apk 反编译工具 dex2jar-0.0.7-SNAPSHOT

Android 反编译工具,可以把apk的资源导出生产文件夹,也可以把资源重新修改,再编译成apk

2011-07-05

wap-230-wsp-20010705-a.pdf

wap-230-wsp-20010705-a.pdf

2010-12-14

Mobile.Messaging.Technologies.and.Services.SMS.EMS.and.MMS

1、Basic Concepts 2、Standardization 3、Short Message Service 4、Enhanced Messaging Service 5、Multimedia Messaging Service: Service and Architecture 6、Multimedia Messaging Service, Transactions Flows References

2010-12-08

android 文件浏览器

改写filelist,显示文件列表 从根目录显示

2010-10-25

GNU makefile 中文手册

别的不说了 学习makefile最全的资料了

2010-10-22

Android 线程

 Android底层Binder System在binding-time会从该进程的Thread pool里启动一个线程来执行SDK-Service的Binder接口对象(如myBinder)。  执行myActivity对象的线程与myBinder对象的线程会同步(Synchronize),让myActivity开发者觉得IPC远程呼叫、跨进程的两个线程,就如同单一线程一般。

2010-10-01

gcc 和makefile 详解

GNU Make 的主要工作是读进一个文本文件, makefile 。这个文件里主要是有关哪些文件 (‘target’目的文件)是从哪些别的 文件(‘dependencies’依靠文件)中产 生的,用什么命令 来进行 这个产生过程。 gcc/g++在执行编译工作的时候,总共需要4步   1.预处理,生成.i的文件[预处理器cpp]   2.将预处理后的文件不转换成汇编语言,生成文件.s[编译器egcs]   3.有汇编变为目标代码(机器代码)生成.o的文件[汇编器as]   4.连接目标代码,生成可执行程序[链接器ld]   [参数详解]

2010-09-29

linux C函数库

chm格式的,函数查询,比较实用。 支持索引和分类查找,是linux以及C开发必备资料。

2010-09-18

水仙花数narcissus number

水仙花数计算,比如153=pow(1,3)+pow(5,3)+pow(3,3) 支持N位的水仙花数计算

2010-09-18

最大公倍数和最小公约数

非枚举法求最大公约数和最小公倍数 支持2个数以上求值,可应用于通分

2010-09-18

VC下graphics图形库

VC下实现的graphics库。有4个文件,一个是graphics.h头文件,一个是lib库(VC6),一个测试主函数,还有一个帮助文档

2010-09-16

c 更改文件修改日期

C语言实现,遍历一个文件夹,并且将修改该文件夹所有文件的修改日期为最近2月。 只有一个文件,在VC下编译通过。如有需求,请自己修改。 调用_findfirst、_findnext,纯C递归实现 大家只要修改里面的changeFiletime函数就可以自己定制功能。

2010-09-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除