自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Shawn

Keep Walking!

  • 博客(11)
  • 资源 (4)
  • 收藏
  • 关注

转载 基础应用框架之Image Pool

本章介绍基础应用框架层的Image Pool模块。Image Pool模块提供了服务端图片下载的统一解决方案。通过控制图片内存使用量;减少图片重复下载;与Android View的无缝结合等,提供图片下载的最佳实践。 1.1                     特性 Feature1.1.1                      图片内存管理在And

2014-12-04 16:46:25 2373 1

转载 一些非常实用的 Android 开发资源 【转】

1.  Android Annotations Android Annotations是一个能够加速Android开发的开源框架,它可以帮助开发者处理一些前后台任务、rest服务、应用类、代码片段等,让开发者专注于真正重要的东西。 2.  ActionBarSherlok ActionBarSherlock是一个扩展的Android支持库,旨在允许开发者通过一个单一的A

2014-12-04 16:36:11 728

转载 SPDY协议的Android实现 OKHTTP代码分析

1 概况 Introduction在Android上我们用开源项目OkHttp作为客户端的SPDY协议栈链接支持SPDY的网站,如Taobao CDN等。本文主要分析OkHttp是如何在Android的通信层扩展SPDY。先简要介绍一下SPDY。SPDY的主要目标:单个tcp连接支持并发的Http请求。这主要是解决目前http协议的一个连接只能服务一次请求的问题。压缩请求/响应头。

2014-12-04 16:18:24 7329

转载 jvm开发笔记5 - 虚拟机内存管理

一、 前言     ajvm是笔者正在开发中的一个java虚拟机, 想通过编写这个jvm帮助程序员了解jvm的具体实现细节, 它是国内第一个开源的java虚拟机项目:https://github.com/cloudsec/ajvm, 同时笔者把它的开发笔记也分享到了ata上。 在前面4篇笔记中, 已经实现了class文件加载器, 反汇编器,jvm的crash信息处理, 同时它已经能

2014-12-04 16:07:27 805

转载 jvm开发笔记4---jvm crash信息处理

ajvm是一个笔者正在开发中的java虚拟机, 用c和少量汇编语言编写, 目的在于探究一个可运行的java虚拟机是如何实现的, 目前整个jvm的source code代码量在5000行左右, 预计控制在1w行以内,只要能运行简单的java代码即可。笔者希望ajvm能变成一个教学用的简单java虚拟机实现, 帮助java程序员在陷入庞大的hotspot vm源码之前, 能对jvm的结构有个清晰的认识

2014-12-04 16:05:22 879

转载 jvm开发笔记3---java虚拟机雏形

一、背景    笔者希望通过自己动手编写一个简单的jvm来了解java虚拟机内部的工作细节毕竟hotsopt以及android的dalvik都有几十万行的c代码级别。 在前面的2篇开发笔记中已经实现了一个class文件解析器和一个java反汇编器 在这基础上 java虚拟机的雏形也已经写好。还没有内存管理功能 没有线程支持。它能解释执行的指令取决于我的java语法范围 在这之前我对java

2014-12-04 16:03:29 794

转载 jvm开发笔记2---java反汇编器

这两天在class文件解析器的基础上, 加上了java反汇编的功能, 反汇编器是指令解释器的基础,通过编写反汇编器可以熟悉jvm的指令系统, 不过jvm的指令一共有201个,反汇编过程基本就是个体力活。在《java虚拟机规范》中对每一条指令都有了详细的描述,下面说说我是如何解析bytecode的:一个java文件经过javac编译后会生成class格式文件, 在class格式中method

2014-12-04 16:02:31 1081

转载 jvm开发笔记1---class文件解析器

笔者最近对java虚拟机产生了浓厚的兴趣, 想了解下最简单的jvm是如何写出来的,于是看起了《java虚拟机规范》,这个规范如同intel开发手册一样,是每个jvm开发人员必须掌握的。 要想翻译执行java byte code, 首先得从java class文件中把Code属性解析出来才行。 在笔者看来, java的class文件结构着实比elf文件结构复杂很多,不过在复杂的结构, 只要耐心对照着

2014-12-04 15:59:54 767

转载 理解堆栈及其利用方法

下午详细膜拜了一浪大牛的《无符号和栈破坏情况下coredump的分析方法》, 此刻惊魂未定,激动不已, 既然谈到了堆栈, 就跟大家分享下我认识和理解的堆栈, 希望对大家有所帮助。  更新: 1、对于堆栈的结构, 我是按x86架构画的, x86_64结构大致相同, 只是函数参数是通过rdi, rsi etc来传递,没有压入堆栈里。2、本文介绍了堆栈的结

2014-12-04 15:28:12 3335

转载 Android的线程和内存模型

Android的线程和内存模型Android操作系统在boot后,会启动一个Zygote(受精卵)进程,Zygote进程负责创建大部分应用程序进程。Zygote进程启动加载核心程序库和数据结构到内存后会创建一个Dalvik虚拟机(DVM)进程--SystemServer,此进程会包含大部分的系统服务(包括管理Activity的服务ActivityManagerService),System

2014-12-04 14:42:31 2507

转载 android程序自动化生成apk的过程

在编写android的时候,写好java代码后,eclipse直接帮我们生成了可安装的apk,但有时需要自动化的去生成个性化apk的时候,我们就需要编写脚本或代码来自动生成一个apk,在生成apk之前必须了解下android编译apk的过程; 现在很多人想对Android工程的编译和打包进行自动化,比如建立每日构建系统、自动生成发布文件等等。这些都需要我们对

2014-12-03 17:15:19 837

Charles 最新版 3.11.2 破解补丁

如题 Charles 最新版 3.11.2 破解补丁

2015-12-28

Schema的Xpath教程

支持各种语言 ZVON.org - XPath Tutorial Please, start with: General/examples.html (English) General_cze/examples.html (česky) General_dut/examples.html (Nederlands) General_fre/examples.html (Français) General_spa/examples.html (Español) General_rus/examples.html (По-русски) General_ger/examples.html (Deutsch) General_chi/examples.html (中文)

2011-06-06

java反编译工具FrontEnd和jad

java反编译工具 Jad accepts the following options: -a - annotate the output with JVM bytecodes (default: off) -af - same as -a, but output fully qualified names when annotating -clear - clear all prefixes, including the default ones (can be abbreviated as -cl) -b - output redundant braces (e.g., if(a) { b(); }, default: off) -d <dir> - directory for output files (will be created when necessary) -dead - try to decompile dead parts of code (if any) (default: off) -disass - disassemble method bytecodes (no JAVA source generated) -f - output fully qualified names for classes/fields/methods (default: off) -ff - output class fields before methods (default: after methods) -i - output default initializers for all non-final fields -l<num> - split strings into pieces of maximum <num> chars (default: off) -lnc - annotate the output with line numbers (default: off) -lradix<num> - display long integers using the specified radix (8, 10 or 16) -nl - split strings on newline character (default: off) -nocast - don't generate auxiliary casts -nocode - don't generate the source code for methods -noconv - don't convert Java identifiers (default: convert) -noctor - suppress the empty constructors -nodos - do not check for class files written in DOS mode (CR before NL, default: check) -nofd - don't disambiguate fields with the same names by adding signatures to their names (default: do) -noinner - turn off the support of inner classes (default: on) -nolvt - ignore Local Variable Table information -nonlb - don't output a newline before opening brace (default: do) -o - overwrite output files without confirmation (default: off) -p - send decompiled code to STDOUT (e.g., for piping) -pi<num> - pack imports into one line after <num> imports (default: 3) -pv<num> - pack fields with identical types into one line (default: off) -pa <pfx>- prefix for all packages in generated source files -pc <pfx>- prefix for classes with numerical names (default: _cls) -pf <pfx>- prefix for fields with numerical names (default: _fld) -pe <pfx>- prefix for unused exception names (default: _ex) -pl <pfx>- prefix for locals with numerical names (default: _lcl) -pm <pfx>- prefix for methods with numerical names (default: _mth) -pp <pfx>- prefix for method parms with numerical names (default: _prm) -r - restore package directory structrure -radix<num> - display integers using the specified radix (8, 10 or 16) -s <ext> - output file extension (by default '.jad') -safe - generate additional casts to disambiguate methods/fields (default: off) -space - output space between keyword (if/for/while/etc) and expression (default: off) -stat - display the total number of processed classes/methods/fields -t - use tabs instead of spaces for indentation -t<num> - use <num> spaces for indentation (default: 4) -v - display method names being decompiled -8 - convert UNICODE strings into 8-bit strings using the current ANSI code page (Win32 only) -& - redirect STDERR to STDOUT (Win32 only)

2011-06-06

C#中实现图片文件拖拽的教程以及关键代码!

C#中实现图片文件拖拽的教程以及关键代码!

2010-11-23

空空如也

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

TA关注的人

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