- 博客(198)
- 资源 (7)
- 收藏
- 关注
转载 Talking about Android Initialization Process
[First written by Steve Guo, please keep the mark if forwarding.]init is the first process after kernel started. The corresponding source co
2011-07-20 22:24:56 546
转载 Android 多点触摸接口
简介 为了使用功能强大的多点触控设备,就需要一种方案去上报用户层所需的详细的手指触摸数据。这个文档所描述的多点触控协议可以让内核驱动程序向用户层上报任意多指的数据信息。使用说明 单点触摸信息是以ABS承载并按一定顺序发送,如BTN_TOUCH、ABS_X、ABS_Y、SYN
2011-07-20 18:12:52 678
转载 andriod 源码开发,打包so到apk
命令方式将so文件打包进apk 使用android SDK原代码 开发APK,将so文件打包进apk,这样可以只提供给客户一个apk.1. 含义全代码的so打包.a) 建立工程,并使用本地调用,java文件如下package test.j
2011-07-20 14:57:25 717
原创 Kies upgrade to latest.
Kies upgrade to latest.添加注册表项Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Samsung\Kies2.0\FUS]"Server"="https://neofusstg
2011-07-20 10:07:40 477
原创 factory format
$ adb logcat--------- beginning of /dev/log/mainW/PowerManagerService( 2499): Timer 0x3->0x3|0x0I/AudioHardwareALSA( 2376): Output standby c
2011-07-19 15:58:20 4225 1
转载 解压三星.rfs文件
copy from:http://www.hiapk.com/thread-543835-1-1.html你的环境是linux,且安装了ruby2、运行ruby stage1.rb,在本目录下会生成stage1文件,此生成过程比较长,因为ruby的效率实在太差(到时候改成C实现应
2011-07-18 20:25:58 2409 1
原创 adb shell am broadcast
使用am发启广播adb shell am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://28346 广播端: import stati
2011-07-14 10:39:11 5901 2
原创 adb shell dumpsys
# adb shell dumpsys media.camera -v 1Client (0x18fd0) PID: 1437QualcommCameraHardware::dumpmMsgEnabled (29)preview width(640) x height (480)
2011-07-13 16:40:06 1841
转载 12 Bash For Loop Examples for Your Linux Shell Scripting
There are two types of bash for loops available. One using the “in” keyword with list of values, another using the C programming like syntax
2011-07-11 16:38:22 1597
原创 Help Needed in compilation when TARGET_BUILD_VARIANT is set as "user".
have downloaded the code from http://source.android.com/ andtry to compile the TARGET_BUILD_VARIANT as user.I got the following error. It se
2011-07-11 15:45:55 753
原创 Building Custom Components
Android offers a sophisticated and powerful componentized model for building your UI, based on the fundamental layout classes: View and View
2011-07-11 15:36:08 377
原创 Android Guide Dev 之Processes and Threads
Processes and ThreadsWhen an application component starts and the application does not have any other components running, the Android system
2011-07-11 13:10:45 412
转载 Details on individual partitions
Details on individual partitionsBoot.img detailsThe boot.img is generated using umulti.sh script (also shown below) ./mkbootimg --kernel
2011-07-08 17:39:14 418
转载 Linux Crontab:15 Awesome Cron Job Examples
An experienced Linux sysadmin knows the importance of running the routine maintenance jobs in the background automatically.Linux Cron utilit
2011-07-08 17:23:32 665
转载 How to Run Cron Every 5 Minutes, Seconds, Hours, Days, Months
How to Run Cron Every 5 Minutes, Seconds, Hours, Days, MonthsQuestion: How do I execute certain shell script at a specific intervals in Linu
2011-07-08 17:01:56 1404
转载 Declaring Attributes of Functions
copy from gcc manualIn GNU C, you declare certain things about functions called in your program which helpthe compiler optimize function cal
2011-07-07 14:25:12 393
原创 在vim里面查看man页面
K(在Vim中使用man)K Run a program to lookup the keyword under the cursor. The name of the program is given with the
2011-07-07 13:51:46 2982
原创 代码覆盖度测试,gcov
copy from gcc manual. gcov is a tool you can use in conjunction with GCC to test code coverage in your programs.gcov is a test coverage prog
2011-07-07 12:24:24 528
原创 GCC 编译 与sizeof
GCC编译选项, 以下是X86体系结构相关的选项: i386 and x86-64 Options -mtune=cpu-type -march=cpu-type -mfpmath=unit -masm=dialect -mno-fancy-math-387
2011-07-07 09:29:53 6027
原创 Build Android SDK
Build Android SDK without update API. $ make PRODUCT-goldfish-sdkBuild Android SDK with update API. $ make update-api PRODUCT-gold
2011-07-06 16:00:52 324
转载 mkimage
ext2.gz 必須再包裝成 U-Boot 的格式,才能透過 U-Boot 載入到 RAM,以成為 kernel 的 initial ramdisk(initrd): # mkimage -A arm -O linux -T ramdisk -C none -
2011-07-06 15:50:36 825
转载 製作 Root Filesystem 映像檔(Image File)
from:http://www.jollen.org/wiki/%E8%A3%BD%E4%BD%9C_Root_Filesystem_%E6%98%A0%E5%83%8F%E6%AA%94%EF%BC%88Image_File%EF%BC%89截至目前為止,我
2011-07-06 15:48:36 430
原创 dalivk tools
dexlist -- list all concrete methods found in a DEX filedexdumpdexdump: [-c] [-d] [-f] [-h] [-i] [-l layout] [-m] [-t tempfile] de
2011-07-06 14:53:59 841
原创 输出pdf
1. manual到pdf man -t man | ps2pdf man PostScript-to-PDF converter 2. 各种ascii文件到pdf
2011-07-06 12:23:35 365
原创 BootChart
Bootchart is a tool for performance analysis and visualization of the GNU/Linux boot process. Resource utilization and process inf
2011-07-06 11:23:32 1910
转载 Build Android Bootchart
Re-build init jollen@android:~/try/mokoid_elcair-20100511$ touch system/core/init/init.cjollen@android:~/try/mokoid_elcair-20100
2011-07-06 11:01:50 570
转载 Android Bootchart
copy from: android/system/core/init/README.BOOTCHARTThis version of init contains code to perform "bootcharting", i.e. generating
2011-07-06 09:07:46 455
原创 Linux Driver demo
Kernel demo /** hello.c -- the example of printf "hello world!" in the screen of driver program*/#include #include MODULE_LICENSE("Dual BSD/GPL"); /* declare the license of the module
2011-06-28 17:50:00 429
原创 如何查找内存泄漏
安装eclipse内存分析插件 www.eclipse.org/mat但是,有时候会安装不上!可以直接下载mat, 直接使用exe,当然,不如eclipse方便。 1,进入adb shell, ps想要dump内存堆栈的进程,记录pidps命令,知道进程号app_34 1231 97 259556 26172 ffffffff afd0eb18 S com.andr
2011-06-28 14:47:00 947
原创 aapt
Android Asset Packaging ToolUsage: aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]] badging
2011-06-27 09:19:00 3794
原创 Testing the features required by your application
from http://developer.android.com/guide/topics/manifest/uses-feature-element.html You can use the aapt tool, included in the Android SDK, to determine how Android Market will filter your applicati
2011-06-27 09:14:00 467
原创 AndroidManifest 之 uses-configuration
uses-configuration,可以指定应用程序支持的每个输入机制的组合.可以指定以下输入设备的任意组合.(1). android:reqFiveWayNav Whether or not the application requires a five-way navigation control — "true" if it does, and "false" if not.
2011-06-27 08:57:00 633
原创 在非锁屏的任意状态下监测HOME键
定义BroadcastReceiver 用于接收 action: android.intent.action.CLOSE_SYSTEM_DIALOGSpublic class HomeKeyPressedReceiver extends BroadcastReceiver { private static final String TAG = "TestReceiver"; pri
2011-06-24 17:50:00 3270
原创 Hello Android 之 Graphics 实例
在Activity中使用自定义View,在View的onDraw方法中手工绘图。 public class Graphics extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
2011-06-24 17:41:00 398
原创 Hello Android 之 Events 实例
1. EventsData 创建events.db数据库文件public class EventsData extends SQLiteOpenHelper { private static final String DATABASE_NAME = "events.db"; private static final int DATABASE_VERSION = 1;
2011-06-24 17:32:00 520
原创 Hello Android 之 第九章 SQL 实战
1. DDL 语句 DDL (Data Definition Language, 数据定义语言), 用来定义表,列名称等。 创建一个包含3列的表: create table mytable( _id integer primary key autoincrement, name text, phone text);2. SQL语句
2011-06-24 17:10:00 325
转载 Android应用程序的内存分析
Dalvik虚拟机支持垃圾收集,但是这不意味着你可以不用关心内存管理。你应该格外注意移动设备的内存使用,在上面内存空间是受到限制的。在这篇文章里面,我们来看看Android SDK里面的一些内存剖析工具(profiling tools)是如何帮助我们修整应用程序的内存使用。 一些内存使用问题是很明显的,例如,如果在每次用户触摸屏幕的时候应用程序有内存泄露,将会有可能触发OutOfMemor
2011-06-17 10:22:00 384
[Wiley.Linux.Bible.2010.Edition].Christopher.Negus.文字版
2011-12-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人