`
地球小野花
  • 浏览: 161676 次
  • 性别: Icon_minigender_1
  • 来自: 马赛大回旋
社区版块
存档分类
最新评论
文章列表
一个看不到的东西叫Service 官方文档是这么说: A Service is an application component that can perform long-running operations in the background and does not provide a user interface. Another application component can start a service and it will continue to run in the background even if the user switches to another a ...
Intent这个东西     Intent学名:意图,主要用于android应用的各个组件之间的通讯。它包含发生请求的组件中的一组信息送给被请求的对象。你可以想象它是快递员,它携带了各中“物件“给客户。 要寄快递,我们得先打电话。拿起你的Android手机,按下拨号键盘的时候你的android手机做了些什么?“意图“有用吗?   按下按键这个动作后 public void dialButtonPressed() { if (isDigitsEmpty()) { // No number entered. handleDial ...
从Android Activity开始 (转载注明出处)          至于Activity是什么,不做详细述说可参考 Google Android 开发文档。生命在于运动,Activity是怎么动起来的?它的“能量“又是怎么传递的?看两个东西   1.Starting an Activity 2.Starting an activity for a result   详细:   1 Starting an Activity startActivity Param: intent Extra:(参考:Intents and Intent Filters) Int ...
伴随Android开发已经4个年头,应用、系统、驱动都开发过。也没好好整理过相关知识,是时候风骚一下了。   Android 应用开发 从Android Activity开始 Intent这个东西 一个看不到的东西叫Service   Android 系统开发   Android 驱动开发
进过几天的等待,几经波折终于把android 4.0 的代码下载下来。(http://android-sz.iteye.com/blog/1259206)   终于可以编译了,期待……   编译环境: 1,系统: Ubuntu 10.10 (64bit)2,Jdk: java (64bit)3,交叉编译链: 自带   为了避免编译过程中出现错误,执行如下命令安装下面软件 $:sudo apt-get install zlib1g-dev lib64z1-dev bison flex libncurses5-dev libgl1-mesa-dev gperf gnupg zip ...
什么是ALSA ALSA是Advanced Linux Sound Architecture,高级Linux声音架构的简称,它在Linux操作系统上提供了音频和MIDI(Musical Instrument Digital Interface,音乐设备数字化接口)的支持。在2.6系列内核中,ALSA已经成为默认的声音子系统,用来替 ...
  Wi-Fi Direct 来自官网: Android now supports Wi-Fi Direct for peer-to-peer (P2P) connections between Android-powered devices and other device types without a hotspot or Internet connection. The Android framework provides a set of Wi-Fi P2P APIs that allow you to discover and connect to other devices ...
经过3.0+ 版本不开源,终于等到4.0的开源,也可以看看4.0的绚丽界面实现的source了。   源码下载地址:(参考google文档) http://source.android.com/source/downloading.html   过程中 repo sync -j16 代码同步不下来 (链接有问题?) 先不管咯。   迫不及待,先看看android-4.0.1_r1里源码包含了什么。   先把manifest clone   下载下来看看。   $: git clone https://android.googlesource.com/platform/man ...
Android RIL CDMA分支总结   1. CDMA分支代码结构 代码结构如下: ril |-- include | `-- telephony | |-- ril.h | `-- ril_cdma_sms.h |-- libril | |-- ril.cpp | |-- ril_commands.h | |-- ril_event.cpp | |-- ril_event.h | `-- ril_unsol_commands.h |-- reference-cdma-sms | |-- reference-cdma-sms.c | `-- reference-cdma-sms.h ...
Linux中的工作队列 (2008-06-11 15:40) 分类: Linux  http://blog.chinaunix.net/space.php?uid=487105&do=blog&cuid=971040 [前记]Linux自从2.6.20之后,工作队列发生了一些变化,目前从网络上搜索的资料一般都是介绍老版本的工作队列,很少见到对新版本的介绍。本文对新老版本都做了简要概述,并分别提供了简单的实作案例。***************************************************************************** ...
软硬件环境: Pxa310/300 + WinCE + WinMobile 中断唤醒源的设置可以说是一个纯“硬件”的活,因为它跟CPU关系非常紧密,不同的CPU即使同样在wince或者winmobile环境下,对于中断唤醒源的设置都是不同的。最近对于marvell pxa310/300里面中 ...
     自己调试的系统偶有死机,跟同事们一起琢磨的结果如下:在evdev.c文件中存在一个隐患的BUG。 static int evdev_open(struct inode *inode, struct file *file){                struct evdev *evdev;  struct evdev_client *client;  int i = iminor(ino ...
  Framework编译AIDL文件   今天下午下载一个开源的Android系统,编译中老遇到如下aidl错误,思考了很久,终于找到解决办法。AIDL是什么?不清楚的可以google。这里重点是如何在android framework中添加新的接口。如下例子,如果没有添加AILD文件,编译系统的时候会出现如下错误。   frameworks/base/core/java/android/bluetooth/BluetoothHid.java:86: cannot find symbol symbol  : class IBluetoothHid location: class ...
android 移植整理   转自:http://blogold.chinaunix.net/u3/90973/showart_2205463.html
Linux Kernel and Android 休眠与唤醒(中文版)   转自:http://www.thinksrc.com/2010/04/18/suspend-cn.html#sec-1 Table of Contents 简介 国际化 版本信息
Global site tag (gtag.js) - Google Analytics