2011 年文章归档
共 4 篇文章
Synchronization in Android
fanqiang搬运,能打开的去看看原址,有源码的。 http://mylifewithandroid.blogspot.com/2008/02/synchronization-in-android.html Thursday, February 14, 2008 Synchronization in Android Note: this example program was written before the new m5-rc14 release of the SDK was published and therefore it refers to m3-rc37a SDK rele…
2011-01-10 17:17
Service深入分析
关于service,还是抄袭自某大大的博客: http://blog.csdn.net/maxleng/archive/2010/04/19/5504485.aspx 这位大大的深入分析系列都很值得研究。 Service深入分析 上一章我们分析了Android IPC架构,知道了Android服务构建的一些基本理念和原理,本章我们将深入分析Android的服务。Android体系架构中三种意义上服务: Native服务 Android服务 Init空间的服务,主要是属性设置,这个IPC是利用Socket来完成的,这个我将在另外一章来讨论。 Navite服务,实际上就是指完全在C++空间完成的…
2011-01-10 14:30
IPC框架分析 Binder,Service,Service manager
抄袭自 : http://blog.csdn.net/maxleng/archive/2010/04/15/5490770.aspx 写的很好啊。 IPC框架分析 Binder,Service,Service manager 我首先从宏观的角度观察Binder,Service,Service Manager,并阐述各自的概念。从Linux的概念空间中,Android的设计Activity托管在不同的的进程,Service也都是托管在不同的进程,不同进程间的Activity,Service之间要交换数据属于IPC。Binder就是为了Activity通讯而设计的一个轻量级的IPC框架。 在代码…
2011-01-10 11:07
阅读材料。。 暂存,放着读一下。。
http://hi-android.info/src/android/content/SyncManager.java.html SyncManager.java /* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of…
2011-01-04 23:10