博客
关于我
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.6.x编译报错:Don't know how to define struct flock on this system, set --enable-opcache=no
查看>>
php5ts.dll 下载_php5ts.dll下载
查看>>
php7
查看>>
PHP7 新特性
查看>>
PHP7+MySQL5.7+Nginx1.9. on Ubuntu 14.0
查看>>
php7.1.6 + redis
查看>>
php7中使用php_memcache扩展
查看>>
PHP7中十个需要避免的坑
查看>>
php7和PHP5对比的新特性和性能优化
查看>>
PHP7安装pdo_mysql扩展
查看>>
PHP7实战开发简单CMS内容管理系统(7) 后台登录架构 用户登录校验
查看>>
php7,从phpExcel升级到PhpSpreadsheet
查看>>
PHP8.1 + ThinkPHP实战指南:高效构建现代化网站的六大技巧
查看>>
PHP8中match新语句的操作方法
查看>>
PHP:第一章——PHP中常量和预定义常量
查看>>
PHP:第一章——PHP中的位运算
查看>>
phpcms
查看>>
phpcms 2008 product.php pagesize参数代码注射漏洞
查看>>
phpcms V9 自定义添加 全局变量{DIY_PATH}方法
查看>>
Redis五种核心数据结构的基本使用与应用场景
查看>>