by clever0725 - 移动操作系统 - 2011-01-26 09:19:23 阅读(606) 回复(0)
kernel_源码安装 1. 查看内核版本 [root@108test ~]# uname -a Linux 108test 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux 2. 下载与你内核版本一致的内核源码: 本例源码地址: ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/kernel-2.6.9-34.EL.src.rpm redhat源码下载地址: ftp://updates.redhat.com/enterprise/ 3. 安装kernel-.src.rpm (根据RPM的默认配置,这个包所包含得文件将...
小弟今天调试android平台的程序,在短信接收的位置加了断点 SmsRecevier.onReceive (Context, Intent)line:21 <---断点在这里,由我自己实现。 ActivityThread.handleReceiver(ActivityThread$ReceiverData):ine:2810 这个函数会调用上面函数,但无法查看到源码。 我已经找到了,ActivityThread实现的位置,就在我下载的android源码的frameworks/base/core/java/android/app/ActivityThread.java这个位置。 请问如何进行关联呢? ...
android扫雷游戏源码 代码介绍: MineSweeper是一个不错的android开源扫雷游戏,对于初学android开发网的网友可能有很大的帮助,对于Java游戏开发也有一定的参考意义。该游戏主要有以下技术值得学习: 1. 个性化字体,计分器使用的是LED字体,可以帮助我们如何导入外部字体在android平台中显示。 2. 带图片的Toast,下面的You won in 36 seconds这个Toast使用了自定义的布局,可以显示图片和文字。 3. 自定义Button控件,可以看...
android 2.2
|-- Makefile
|-- bionic # bionic C库,继承自BSD, 针对移动设备作了优化,及其它扩展
|-- bootable # 启动引导相关代码
|-- build  ...
获取android源码 最近google的源代码地址被墙了,表现为 未预期的符号 `newline' 附近有语法错误,所以我们需要另辟战场 1. bin里的repo从这里得到http://code.google.com/p/git-repo/,也可以这样 curl http://git-repo.googlecode.com/files/repo-1.13 > repo 2. 修改repo里的https://code.google.com/p/git-repo/ 为 http://code.google.com/p/git-repo/ 3. 然后进s...
repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake 后面的-b的cupcake是branch名字?在哪查啊?我没加-b下载的源码编译提示 Checking API: checkapi-last frameworks/base/api/3.xml:253614: error 1: required string: "implements" ****************************** You have tried to change the API from what has been previously released in an SDK. Please fix the errors listed above. **...
by tangke 2009-06-10 目前android比较流行,笔者也跟着凑凑热闹,因为android是开发源代码的,所以我们一般情况下肯定要得到其最新源代码。 如何得到android的最新源代码 sudo apt-get install git-core curl curl http://android.git.kernel.org/repo >git_android mv git_android /usr/bin/ chmod +x /usr/bin/git_android git_android init -u git://android.git.kernel.org/platform/manifest.git git_android sync 不幸的...
一款三星的手机的中的一个字符驱动端口,我能正常打开并能正常写进数据,按照源码里面的IOCTL码发送信息也返回正常值。 但我读端口的时候返回的是错误码EFAULT 14 /* Bad address */ , 读之前我用select(max_fd),得到了1,再开始读的,但就是总读不到数据。 我查了它的内核源码。读返回EFAULT是里面的有个copy_to_user()函数失败了。请问,它失败的原因主要都有哪些? 另外,HTC的一款手机,驱动代码和HTC的一样,写的时候就不正常...
android 4.0源码下载 经过3.0+ 版本不开源,终于等到4.0的开源,也可以看看4.0的绚丽界面实现的source了。 首先自己的电脑上请安装git 安装git后在按照下面网站上的命令来clone 有关操作网站有说明!大概9~10G、 源码下载地址:(参考google文档) http://source.android.com/source/downloading.html 过程中 repo sync -j16 代码同步不下来 (链接有问题?) 先不管咯。 迫不及待,先看看android-4...