Android AIDL
2015-11-23 18:46
357 查看
android IPC: AIDL thread is not blocked.
Using AIDL is necessary only if you allow clients from different applications to access your service for IPC and want to handle multithreading in your service. If you do not need
to perform concurrent IPC across different applications, you should create your interface by implementing
a Binder or, if you want to perform IPC, but do not need
to handle multithreading, implement your interface using
a Messenger. Regardless, be sure that you understand Bound
Services before implementing an AIDL.
When used, a remote call does not block; it simply sends the transaction data and immediately returns.
<Unfinshed>
Using AIDL is necessary only if you allow clients from different applications to access your service for IPC and want to handle multithreading in your service. If you do not need
to perform concurrent IPC across different applications, you should create your interface by implementing
a Binder or, if you want to perform IPC, but do not need
to handle multithreading, implement your interface using
a Messenger. Regardless, be sure that you understand Bound
Services before implementing an AIDL.
When used, a remote call does not block; it simply sends the transaction data and immediately returns.
<Unfinshed>
相关文章推荐
- Android Studio中新建项目时Your android sdk is out of date or is missing templates的解决办法
- 安卓单元测试
- Android性能与功耗监测工具
- Android写文件到SDCard的方法
- android的asynctask里面使用toast
- android自定义秒表(精确到0.1秒,带计次功能)
- 深入浅出Android Support Annotations
- 【Android进阶学习】监听EditText的变化
- Android一些方法的执行顺序
- Android 在程序中动态添加 View 布局或控件
- Android View - Scroll
- Android 那些事– 小米手环 测量心率 动画实现
- Android AAR的使用
- android根据经纬度计算两点之间的距离
- Android实现IOS轮效果(Android Studio)
- Xamarin.Android 照相机的使用
- Android HelloChart开源库图表(二)之饼图
- Androidstudio 真机device offline
- 解决 Android Studio 乱码问题(特别是关于IDE的不同窗口里显示乱码的情况)
- android多屏幕适配注意几点