您的位置:首页 > 移动开发 > Android开发

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: