1、 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
那我要是在不同应用程序之间执行同步ipc呢,应该用什么
我要是需要处理多线程呢,又需要用什么
Bound service 应该只有两种吧, IBinder和Messager
2、 android里面的service和qq里面的service是一样的, 都是一个全局服务; activities不也就是一个ui嘛,