博客
关于我
2020-11-11(aidl)
阅读量:341 次
发布时间:2019-03-04

本文共 989 字,大约阅读时间需要 3 分钟。

Android ???????RPC????????IPC???????????

? Android ???????????RPC????????IPC?????????????????????????? Android ??????????AIDL??? RPC??????????????????

???? RPC ? IPC

  • RPC?Remote Procedure Call?????????????????????????????????????????
  • IPC?Inter-Process Communication???????????????????????????????

??AIDL ????

1. ????

  • ?????? aidl ????????????????????? public ????AIDL ?????
  • ?????????AIDL ????????? Java ??????? gen/ ????

2. ????

  • ?? Service????? Service ????? onBind ??????? Binder ???
  • ??? Binder????? Binder ????????????????? onBind ??

3. ????

  • ?????? AndroidManifest.xml ?????????????????????????
  • ??????????????????? INTERNET?

4. ?????

  • ??????? startService ? bindService ???????? ServiceConnection ?????
  • ?????????????? Proxy ????? ServiceConnection ???????????

???????????

  • ?????????????????????????
  • ?????????????????????????
  • ??????????????? AIDL ????????????

???????

  • ?????????? Android Profiler ??????????????
  • ????????????????????????????

????????????? Android ??????????????????????????????

转载地址:http://afve.baihongyu.com/

你可能感兴趣的文章
php5 升级 php7 版本遇到的问题处理方法总结
查看>>
PHP5.3.3安装Mcrypt扩展
查看>>
PHP5.4 + IIS + Win2008 R2 配置
查看>>
PHP5.4 pfsocketopen函数判断sock是否存活的bug(由memcached引起)
查看>>
Redis从入门到精通
查看>>
PHP5.6.x编译报错:Don't know how to define struct flock on this system, set --enable-opcache=no
查看>>
php5ts.dll 下载_php5ts.dll下载
查看>>
php7
查看>>