跨进程通信

2020-06-24  本文已影响0人  陈桐Caliburn

binder连接池
https://github.com/yinlingchaoliu/android_ipc
多个aidl复用一个service

ShareMemory 内存映射 + 文件锁 保证进程同步

用contentprovider保证线程安全

Settings.System.putInt( context.getContentResolver(), key, value )
Settings.System.getInt( context.getContentResolver(), key )
上一篇 下一篇

猜你喜欢

热点阅读