自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 view createsnapshot and savebitmap

private Bitmap createScreenshot(int width, int height) { // We render to a bitmap 2x the desired size so that we can then // re-scale it with filtering since canvas.scale doesn't filt

2012-02-29 19:30:28 1775 1

原创 WebView Draw

steps 1.FrameLoader.cpp didFirstLayout 3.FrameLoaderClientAndroid.cpp dispatchDidFirstLayout 3.WebViewCore.cpp didFirstLayout(); 4.WebViewCore.java// will also call setupViewport() didFirstL

2012-02-28 21:47:26 1150

原创 Hash study notes

Set, Data structure which does not allow duplicate elements. Map.Entry,  is a key/value mapping contained in a Map. Map, is a data structure consisting of a set of keys and values in which each key

2012-02-22 23:27:00 502

原创 COM

COM 接口描述各组件间的边界。这些边界可能是编程语言的边界,或者是线程、进城以及机器的外界。IDL就是用来描述COM接口。 定义一个接口是一个抽象方法的集合,客户和对象要能够顺利跨越接口调用,必须明确三个方面。 1.COM定义一个内存内互操作模型。每一个方法的物理栈帧,用了多少个参数,顺序是什么,类型的什么。 客户端要关心,是因为要传参数给对象;对象要关系是因为要返回值给客户。 2.指定

2012-02-19 21:32:50 416

原创 awk

1.awk common format and example  awk '{cmd}' inputfile or awk 'condition {cmd}' or awk '{if(condition) cmd} for example, b.txt a b c d e f >>awk '{printf $1}' b.txt a d >>awk '$1=="a" {pr

2012-02-16 00:05:20 882

原创 Interrupt Handler

1. interrupt flow Hardware->Interrupt Controller->Processor 2.Interrupt Handler a. Definition The function that the kernel runs, in response to a specific interrupt. b.Difference between other ke

2012-02-14 21:27:40 2660

原创 scp and ftp and linux shell

1 scp sudo scp abc  root@192.168.1.1:/home/ sudo mount -s smbfs -o username=root //192.168.1.1/share /home sudo mount -t ntfs UUID="966A4B803710F028" -w /media/D 2ftp cd dir //enter dir of th

2012-02-07 21:09:36 525

转载 Change Window7 to XP style

http://jingyan.baidu.com/article/456c463bbc1d140a583144cf.html 1.在任务栏上右键 -> 工具栏 -> 新建工具栏。 2.在文件夹里面输入这个路径,然后按回车: %userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch 3.在任务栏上空

2012-02-04 01:37:32 520

原创 webkit to Chromium/load/rtsp/dns

a.webkit to chromium to webkit ResourceLoaderAndroid to chromium// for file 1.ResourceLoaderAndroid::start 2.WebUrlLoader::start (convert "ResourceRequest" to "WebRequest") 3.WebUrlLoaderClient::s

2012-02-02 23:42:12 1751

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关注的人

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