Android AIDL的编写流程
2014-11-01 16:45:24 3 举报
登录查看完整内容
作者其他创作
大纲/内容
ps:只需定义一个Xxx.aidl文件SDK的aidl.exe工具会为我们在gen目录下生成一个对应的接口
Return result
Binder通信机制流程图
BinderDriver(内核)
Unwrap the return Parcel
客户端
Call method
Wrapp the Parcel
Blocking(同步)
AIDL完成跨进程间的简单通信的流程
Server(用户空间)
3.直接拷贝服务端的AIDL文件
Proxy(代理)
Wrap the execute resultand return
Unwrap the Parcel and execute the corresponding method
Client(用户空间)
服务端
0 条评论
回复 删除
下一页