
Android
文章平均质量分 62
CodeJoker
这个作者很懒,什么都没留下…
展开
-
Android Build: Tips and Tricks
All below build steps are trivial, but i took like a week to get a grip of.. just documenting to be handy.$MYDROID is root of your an转载 2011-09-02 09:53:30 · 2225 阅读 · 0 评论 -
Makefile函数总结
在Makefile中可以使用函数来处理变量,从而让我们的命令或是规则更为的灵活和具有智能。make所支持的函数也不算很多,不过已经足够我们的操作了。函数调用后,函数的返回值可以当做变量来使用。转载 2011-04-27 12:49:00 · 2815 阅读 · 0 评论 -
android 对于apk签名汇总
Android程序的签名和Symbian类似都可以自签名(Self- signed),但是在Android平台中证书初期还显得形同虚设,平时开发时通过ADB接口上传的程序会自动被签有Debug权限的程序。需要签名验证在上传程序到Android Market上时大家都已经发现这个问题了。转载 2011-04-06 13:25:00 · 2532 阅读 · 0 评论 -
3GPP TS 0710 MUX协议
TE: terminal equipmentMS: mobile stationAllows a number of simultaneous sessions over a normal serial asynchronous interface.1. TE通过物理通道发送AT+CMUX=0通知MS进入mux模式;2. MS响应OK表示同意;3. TE依次发送SAMB0,1,2,3,建立编号为0~3的逻辑通道;4. MS响应UA表示同意;5. TE在通道1上发送命令UIH(转载 2011-02-24 18:44:00 · 9409 阅读 · 0 评论 -
Linux的信号处理
Linux为实现信号处理提供了比较多的接口,看似纷杂,但理清信号的关系后还是很有条理的。主要分为以下四组,怎么发送一个信号,收到一个信号后做什么样的处理,主动等待一个信号的发生,对特定信号只记录是否发生供以后再处理;四组的API如下(不考虑多线程):发送信号 kill, alarm, arise;安装信号 signal, sigaction;等待信号 sigsuspend, sigwait,pause;阻塞信号 sigfillset, sigemptyset, sigaddset, sigd转载 2011-02-23 18:31:00 · 2485 阅读 · 0 评论 -
Memory: VSS/RSS/PSS/USS
The aim of this post is to provide information that will assist in interpreting memory reports from various tools so the true memory usage for Linux processes and the system can be determined.转载 2010-12-23 21:17:00 · 4110 阅读 · 0 评论 -
New Gingerbread API: StrictMode
StrictMode is a new API in Gingerbread which primarily lets you set a policy on a thread declaring what you’re not allowed to do on that thread, and what the penalty is if you violate the policy.转载 2010-12-15 10:06:00 · 279 阅读 · 0 评论 -
利用JAVA反射机制访问ITelephony隐藏接口
在Android Framework隐藏了一些实用的接口,而只有使用这些接口可以完成特定功能,如:挂断电话。 本文将介绍如何利用JAVA反射机制访问ITelephony隐藏接口。转载 2010-11-12 00:13:00 · 6235 阅读 · 2 评论 -
LINUX手动查看和修改MTU值的方法
本文介绍如何手动查看和修改MTU值原创 2010-11-09 14:12:00 · 85092 阅读 · 2 评论 -
MTU的理解和总结
最近在分析彩信发送速度方面的问题,因此对MTU值进行了进一步研究,本文是我个人对MTU的理解和总结。原创 2010-11-09 14:01:00 · 8493 阅读 · 2 评论 -
手动修改SQLITE数据库的版本
怎样手动更新数据库版本,以重新初始化数据库中的数据原创 2010-10-28 11:02:00 · 6929 阅读 · 1 评论 -
wireshark中window is full与window is zore的不同之处
用wireshark进行协议分析时经常会遇到专家系统提示:window is full 和 window is zero的提示,到底它们有什么不同呢?转载 2010-09-13 11:41:00 · 17825 阅读 · 1 评论 -
arm-eabi-gcc: : No such file or directory编译错误
解决“arm-eabi-gcc: : No such file or directory”编译出错的解决方法。原创 2010-08-27 11:48:00 · 15146 阅读 · 2 评论 -
基于Android Bionic 库动态编译busybox
本文介绍如何基于Android Bionic libc 库动态编译busybox原创 2010-08-25 14:27:00 · 10860 阅读 · 9 评论 -
netcat使用指南
netcat可以作为类似于telent的客户端,也可以监听某个端口作为服务器,还可以作为扫描工具扫描对方主机的端口,还可以用来传输文件转载 2010-08-18 14:34:00 · 3548 阅读 · 0 评论 -
去掉Socket绑定设备权限检查
通过对Linux Kernel进行简单修改,可以使任意的User都可以绑定网卡设备。原创 2010-08-16 18:07:00 · 2613 阅读 · 0 评论 -
Android之 BatteryService
电池的信息,电压,温度,充电状态等等,都是由BatteryService来提供的转载 2010-07-07 11:55:00 · 901 阅读 · 0 评论 -
Android 的 system property service
From: http://blog.sina.com.cn/s/blog_606334a20100gllo.html Android为了储存关于全局系统设置的信息,使用了一个系统属性公共缓冲区,这个缓冲区的内容是(属性,值)对的列表,对外提供get和set服务。可以说,属性区域相当于一般应用的配置文件。本文不说有哪些具体属性,而是描述一下这个属性系统的实现。属性系统首先得有转载 2010-03-23 23:41:00 · 2561 阅读 · 0 评论 -
Android ashmem的实现方式
From: http://blog.sina.com.cn/s/blog_606334a20100goei.html ashmem是android的内存分配/共享机制,在dev目录下对应的设备是/dev/ashmem,相比于传统的内存分配机制,如malloc、anonymous/namedmmap,其好处是提供了辅助内核内存回收算法的pin/unpin机制。ashmme的典转载 2010-03-23 23:40:00 · 3003 阅读 · 0 评论 -
Android安全机制之设备管理
From: http://blog.sina.com.cn/s/blog_606334a20100gmxo.html Andoid安全机制包括两个层次:系统层和应用层。应用层的安全机制建立在授权与申请基础上,本文不讲。系统层的安全机制包括给每个用户进程分配单独的uid和gid,使用进程本身可以防止地址空间的共享,从而避免使用线程方式对数据的全局可见性。使用了uid则对于外存也加了封锁,转载 2010-03-23 23:38:00 · 1059 阅读 · 1 评论 -
移植Dnsmasq到Android
Author: Codejoker 9/26/2009 DNSMAQS是一款轻量级的,容易配置的DNS代理和DHCP服务软件,可以为一个小型的网络提供DNS服务(或者DHCP)服务. 本文将介绍如何把它移植到Android平台中. 1. 目的 a. 当实现Multi-PDP的时候, 手机中会存在多个虚拟网络设备(网卡)分别连接不同网络, 而不同的网络可能原创 2009-09-26 19:03:00 · 11584 阅读 · 2 评论 -
Android对Kernel的改动汇总
From: http://www.linuxfordevices.com/files/misc/porting-android-to-a-new-device-p3.html Goldfish -- 44 filesChgarch/arm/MakefileAdd CONFIG_ARCH_GOLDFISH转载 2009-08-06 13:51:00 · 4083 阅读 · 0 评论 -
ramfs, rootfs & initramfs
From: http://android.git.kernel.org/?p=kernel/common.git;a=blob;f=Documentation/filesystems/ramfs-rootfs-initramfs.txtWhat is ramfs? Ramfs is a very simple filesystem that exports Linu转载 2009-07-22 23:07:00 · 1112 阅读 · 0 评论 -
HOWTO: Unpack, Edit, and Re-Pack Boot Images
From: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images Several people have already figured out the details on their own, but Ihave gotten requests转载 2009-07-22 09:30:00 · 1228 阅读 · 0 评论 -
Dalvik opcodes
from: http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html Dalvik opcodesAuthor: Gabor PallerVx values in the table denote aDalvik register. Depending on the instruction, 16, 2转载 2009-07-04 18:44:00 · 3701 阅读 · 0 评论 -
关于@override报错的问题
@Override是JDK5就已经有了,但有个小小的Bug,就是不支持对接口的实现,认为这不是Override而JDK6修正了这个Bug,无论是对父类的方法覆盖还是对接口的实现都可以加上@Override修改你的eclipse指定的编译器版本在选项里的java compiler中指定版本至少在5.0以上在myEclipse中改变编译器的方法:Project->Pro原创 2009-07-02 23:08:00 · 16874 阅读 · 10 评论 -
Avoiding memory leaks
Avoidingmemory leaks Android applications are, at least on the T-Mobile G1,limited to 16 MB of heap. Its both a lot of memory for a phone and yet verylittle for what some developers want转载 2009-07-01 23:28:00 · 965 阅读 · 0 评论 -
Eclipse 快捷键
<!-- document.domain = "csdn.net";// -->希望通过介绍Eclipse集成开发环境中的一些基本设置和快捷键, 使开发人员能够快速进入工作状态.IDE- 常用的窗口: Package Explore, Outline - Ctrl+Shift+L: Show all key assists. 显示所有的快捷键.原创 2009-06-29 22:27:00 · 1354 阅读 · 0 评论 -
Link Android Source Code to Eclipse
Long story short: Android source code needs to be placed in a "sources" subdirectory of the Android SDK.1. Download the code2. Move code to "sources" subdirectory of the Android SDK. Where原创 2009-06-19 18:24:00 · 3559 阅读 · 0 评论 -
Android Network Resources
初级- Max AndroidAndroid相关新闻汇总。- Lordhongs blog- 开源中国社区收录的Android相关项目 中级- My life with Android :-)包含一些关于Android的技术文章。- 随心翱翔包含了实现Android手写输入法的一些经验. 高级原创 2009-06-15 11:10:00 · 800 阅读 · 0 评论 -
About binders
From: http://mylifewithandroid.blogspot.com/2008/01/about-binders.html I wanted to go back to my Bluetooth exercise once again but then I stumbled into this beautiful sample program from John转载 2009-06-15 10:59:00 · 1182 阅读 · 0 评论 -
Controlling application separation
From: http://mylifewithandroid.blogspot.com/2009/06/controlling-application-separation.html I thought I knew how application separation in Android works. Then I had a little project and I realiz转载 2009-06-15 10:52:00 · 851 阅读 · 0 评论