android telephony overview: http://mengxx.blog.51cto.com/2502718/795968

 

com.android.internal.telephony包

包含CallManager, Call,  CallTracker,Phone, Connection,SMS, AT等基本概念的抽象

包含GSM. CDMA的分别实现

包含RIL抽象层的java部分

不包含GUI

属于framework level,不import com.android.phone包

TODO 画class之间的关系

 

(但实际上telephony service的实现却是在com.android.phone里面

PhoneInterfaceManager.java  49 public class PhoneInterfaceManager extends ITelephony.Stub 

com.android.phone 包 就是 phone.apk 

包含GUI, dialer pad, settings, bt, notification等概念

属于application level,常驻特权应用,大量引用com.android.telephony.internal包

(反而调用android.telephony较少,那个public api太弱)

TODO 画功能模块,class diagram等

实际上感觉这两个包耦合还是比较紧密


   

 

package com.android.internal.policy.impl
public class PhoneWindowManager implements WindowManagerPolicy 没看

 

不错的参考文章:

 

http://hi.baidu.com/weiyousheng/blog/item/a7255ef4e2438c7dddc4748c.html

http://www.360doc.com/content/11/0222/11/474846_95043329.shtml

http://newfaction.net/2011/03/15/android-2-2-ril-java-part-of-the-code-profile.html

http://www.cnblogs.com/Tiger-Dog/articles/2056273.html  

http://www.meegozu.com/thread-391-1-1.html

 

 

android 1.1的telephony相关文章,很老,结构已经发展了,但仍可以借鉴

http://www.kandroid.org/online-pdk/guide/telephony.html 

http://www.linuxjournal.com/magazine/java-api-androids-telephony-stack

http://www.netmite.com/android/mydroid/development/pdk/docs/telephony.html